From c2073e791f475083c4a9c435ad707b62f0660819 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:36:32 -0700 Subject: Leave the zeroed repository fields to the memset --- source/shared.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/shared.c') diff --git a/source/shared.c b/source/shared.c index 50ad00b..86a2cf6 100644 --- a/source/shared.c +++ b/source/shared.c @@ -198,10 +198,7 @@ struct cgit_repo *cgit_add_repo(const char *url) repo->ignore = 1; } repo->name = repo->url; - repo->path = NULL; repo->desc = cgit_default_repo_desc; - repo->head_content = NULL; - repo->owner = NULL; repo->section = ctx.cfg.section; repo->snapshots = ctx.cfg.snapshots; repo->enable_blame = ctx.cfg.enable_blame; -- cgit