From: Lukas Fleischer Date: Sat, 6 Apr 2013 21:39:07 +0000 (+0200) Subject: ui-refs.c: Remove global header variable X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/caca860ba79fe9f6bc387f64ddb57ac0db1fac33?hp=caca860ba79fe9f6bc387f64ddb57ac0db1fac33 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 ---