aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--ui-shared.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 5b48734..48358cc 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -889,9 +889,6 @@ void cgit_add_hidden_formfields(int incl_head, int incl_search,
static const char *hc(const char *page)
{
- if (!ctx.qry.page)
- return NULL;
-
return strcmp(ctx.qry.page, page) ? NULL : "active";
}