Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Drop a query value check that cannot fire
Diffstat (limited to '')
| -rw-r--r-- | source/cgit.c | 3 |
1 file changed, 0 insertions, 3 deletions
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); |
