From f838152552226713c26007d65fbe7a8afa766028 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:49:10 -0700 Subject: Drop a query value check that cannot fire --- source/cgit.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/cgit.c') diff --git a/source/cgit.c b/source/cgit.c index 245e77d..cf93881 100644 --- a/source/cgit.c +++ b/source/cgit.c @@ -707,9 +707,6 @@ static int query_int(const char *value, int min, int max) static void apply_query_param(const char *name, const char *value) { - if (!value) - value = ""; - if (!strcmp(name, "r")) { ctx.qry.repo = xstrdup(value); ctx.repo = cgit_get_repoinfo(value); -- cgit