aboutsummaryrefslogtreecommitdiff
path: root/shared.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/shared.c b/shared.c
index 762eb38..b576df8 100644
--- a/shared.c
+++ b/shared.c
@@ -37,7 +37,6 @@ char *cgit_query_repo = NULL;
char *cgit_query_page = NULL;
char *cgit_query_head = NULL;
char *cgit_query_sha1 = NULL;
-char *cgit_query_sha2 = NULL;
int cgit_query_ofs = 0;
int htmlfd = 0;
@@ -84,9 +83,6 @@ void cgit_querystring_cb(const char *name, const char *value)
} else if (!strcmp(name, "id")) {
cgit_query_sha1 = xstrdup(value);
cgit_query_has_sha1 = 1;
- } else if (!strcmp(name, "id2")) {
- cgit_query_sha2 = xstrdup(value);
- cgit_query_has_sha1 = 1;
} else if (!strcmp(name, "ofs")) {
cgit_query_ofs = atoi(value);
}