about summary refs log tree commit diff
path: root/ui-patch.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 20:43:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 21:08:32 +0100
commit40e1d9b6177558bf4069c09ca6d8e3a682baa988 (patch)
tree5c32c6ff69cbae17b61cca3d29ed7caf05f63801 /ui-patch.c
parentcgit.mk: Use SHELL_PATH_SQ to run gen-version.sh (diff)
downloadcgit-pink-40e1d9b6177558bf4069c09ca6d8e3a682baa988.tar.gz
cgit-pink-40e1d9b6177558bf4069c09ca6d8e3a682baa988.zip
ui-shared: squelch compiler warning.
Since tail is initialized to 0, we will never get a warning on the last
if statement, but recent gcc complains anyway. So, we initialize len as
well. Future gcc versions should be able to optimize this out anyway.
Diffstat (limited to 'ui-patch.c')
0 files changed, 0 insertions, 0 deletions