summaryrefslogtreecommitdiff
path: root/builtin/update-index.c
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <tr@thomasrast.ch>2013-11-25 21:04:08 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-11-27 10:44:15 -0800
commite9e03a77994f4bf030760e2644f718776de0eb39 (patch)
treeb7a90daec958b2f0bf3f10a9eb3e30560a82134b /builtin/update-index.c
parentcommit-slab: document clear_$slabname() (diff)
downloadtgif-e9e03a77994f4bf030760e2644f718776de0eb39.tar.xz
commit-slab: declare functions "static inline"
This shuts up compiler warnings about unused functions. No such warnings are currently triggered, but if someone were to actually use init_NAME_with_stride() as documented, they would get a warning about init_NAME() being unused. While there, write a comment about why the last real declaration of the variable is without a terminating semicolon, while another forward declarations have one. Signed-off-by: Thomas Rast <tr@thomasrast.ch> Helped-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-index.c')
0 files changed, 0 insertions, 0 deletions