]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-refs.c: Remove global header variable
authorLukas Fleischer <cgit@cryptocrack.de>
Sat, 6 Apr 2013 21:39:07 +0000 (23:39 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 13:45:34 +0000 (15:45 +0200)
print_tag_header() is only called from cgit_print_tags() -- the
conditional invocation in print_tag() is never executed since
print_tag() is only called by cgit_print_tags() which already executes
print_tag_header() before (resulting in the global variable being always
set in when the condition is evaluated).

Remove the global variable and the conditional invocation.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>

No differences found