about summary refs log tree commit diff
path: root/git
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 /git
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 'git')
0 files changed, 0 insertions, 0 deletions
mit/state.c?h=1.1&id=b28f675d5b506edf750eecbdb6e677aac4a27bbf&follow=1'>Rename Command to MessageJune McEnroe 2019-10-23Synchronize state after client registrationJune McEnroe 2019-10-23Send to server if client has no needsJune McEnroe 2019-10-23Implement some amount of client connectionJune McEnroe 2019-10-23Set clients non-blockingJune McEnroe 2019-10-23Clean up state.c and factor out parsingJune McEnroe 2019-10-23Respond to pingsJune McEnroe 2019-10-23Add verbose flagJune McEnroe 2019-10-23Set NOSIGPIPE on server connectionJune McEnroe 2019-10-23Set an initial loop capJune McEnroe 2019-10-23Fix rest parsingJune McEnroe 2019-10-23Add dynamic poll listJune McEnroe 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe