about summary refs log tree commit diff
path: root/tests/t0107-snapshot.sh
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-04-06 23:39:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-08 15:45:34 +0200
commitcaca860ba79fe9f6bc387f64ddb57ac0db1fac33 (patch)
treed395af44b56d3c5c53c83b0969b3b168e80a4910 /tests/t0107-snapshot.sh
parenthtml.c: Replace strdup() with xstrdup() (diff)
downloadcgit-pink-caca860ba79fe9f6bc387f64ddb57ac0db1fac33.tar.gz
cgit-pink-caca860ba79fe9f6bc387f64ddb57ac0db1fac33.zip
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>
Diffstat (limited to 'tests/t0107-snapshot.sh')
0 files changed, 0 insertions, 0 deletions