]> gitweb.ps.run Git - ps-cgit/commit
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)
commitcaca860ba79fe9f6bc387f64ddb57ac0db1fac33
treed395af44b56d3c5c53c83b0969b3b168e80a4910
parent3edfd83db61f5dd2f046e6e8c21dfceeae03ed82
ui-refs.c: Remove global header variable

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>
ui-refs.c