summaryrefslogtreecommitdiff
path: root/run-command.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-07-10 00:23:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-10 05:23:11 (GMT)
commit8dd0ee823f1829a3aa228c3c73e31de5c89b5317 (patch)
tree7bf188adab924793afdbbc9befa43b3f472c47dd /run-command.h
parenteccb614924c9067eeceffa503e4da3683f1c8b6b (diff)
downloadgit-8dd0ee823f1829a3aa228c3c73e31de5c89b5317.zip
git-8dd0ee823f1829a3aa228c3c73e31de5c89b5317.tar.gz
git-8dd0ee823f1829a3aa228c3c73e31de5c89b5317.tar.bz2
wt-status: use "format" function attribute for status_printf
These functions could benefit from the added compile-time safety of having the compiler check printf arguments. Unfortunately, we also sometimes pass an empty format string, which will cause false positives with -Wformat-zero-length. In this case, that warning is wrong because our function is not a no-op with an empty format: it may be printing colorized output along with a trailing newline. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.h')
0 files changed, 0 insertions, 0 deletions