]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-commit.c
ui-shared: remove unused parameter
[cgit.git] / ui-commit.c
index ea17461a59ccd90697884fab6b9483776a71eb4c..37c7d8d118495878d2e433e021c9dc25fccb2a57 100644 (file)
@@ -110,7 +110,7 @@ void cgit_print_commit(char *hex, const char *prefix)
        }
        if (ctx.repo->snapshots) {
                html("<tr><th>download</th><td colspan='2' class='sha1'>");
-               cgit_print_snapshot_links(ctx.repo, ctx.qry.head, hex);
+               cgit_print_snapshot_links(ctx.repo, hex);
                html("</td></tr>");
        }
        html("</table>\n");