X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/00ad47bbfaf7cc5c372e072a5302e871b5250390..f0047d2d943788fed2666e1d20c1e0d3c16701d5:/ui-refs.c diff --git a/ui-refs.c b/ui-refs.c index 50d9d30..7b95e8b 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -97,9 +97,6 @@ static void print_tag_downloads(const struct cgit_repo *repo, const char *ref) struct strbuf filename = STRBUF_INIT; size_t prefixlen; - if (!ref || strlen(ref) < 1) - return; - basename = cgit_snapshot_prefix(repo); if (starts_with(ref, basename)) strbuf_addstr(&filename, ref);