aboutsummaryrefslogtreecommitdiffstats
path: root/ui-snapshot.c
diff options
context:
space:
mode:
authorLukas Fleischer2013-03-05 16:48:27 +0100
committerJason A. Donenfeld2013-03-20 21:08:32 +0100
commit977a3ad7bf212e6ec7f43c16763321061ee64a69 (patch)
tree49b80b6cac3e0d66e7ff73ef45d42f66ac8c5859 /ui-snapshot.c
parentef8a97d9c6983e4fc3710bdbe771edd4e3550dba (diff)
downloadcgit-977a3ad7bf212e6ec7f43c16763321061ee64a69.tar.gz
cgit-977a3ad7bf212e6ec7f43c16763321061ee64a69.tar.bz2
cgit-977a3ad7bf212e6ec7f43c16763321061ee64a69.zip
ui-summary.c: Move urls variable into print_urls()
There's no need for this variable to be global. Printing the header in print_urls() instead of print_url() allows for moving this variable into print_urls() without having to pass any status to print_url(). Note that this only works as long as we don't call print_urls() more than once. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-snapshot.c')
0 files changed, 0 insertions, 0 deletions