aboutsummaryrefslogtreecommitdiff
path: root/cgit.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c
index 5301840..64d95f9 100644
--- a/cgit.c
+++ b/cgit.c
@@ -132,9 +132,6 @@ void config_cb(const char *name, const char *value)
static void querystring_cb(const char *name, const char *value)
{
- if (!value)
- value = "";
-
if (!strcmp(name,"r")) {
ctx.qry.repo = xstrdup(value);
ctx.repo = cgit_get_repoinfo(value);