about summary refs log tree commit diff
path: root/ui-diff.h
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 /ui-diff.h
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 'ui-diff.h')
0 files changed, 0 insertions, 0 deletions
>June McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe