diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2009-02-15 19:18:58 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-15 11:14:12 -0800 |
commit | 88a667f0630e8b9c7679127d3b9364447727e587 (patch) | |
tree | 9ff8200dc08d5b7fb1c774deb4b44f61d6315097 /git-stash.sh | |
parent | 075394e26cd7fb38e08d5f637a5fc825ab0b3fb3 (diff) | |
download | git-88a667f0630e8b9c7679127d3b9364447727e587.tar.gz |
builtin-receive-pack.c: fix compiler warnings about format string
While all of the strings passed to warning() are, in fact, literals, the
compiler doesn't recognize them as such because it doesn't see through
the loop used to iterate over them:
builtin-receive-pack.c: In function 'warn_unconfigured_deny':
builtin-receive-pack.c:247: warning: format not a string literal and no format arguments
builtin-receive-pack.c: In function 'warn_unconfigured_deny_delete_current':
builtin-receive-pack.c:273: warning: format not a string literal and no format arguments
Calm the compiler by adding easily recognizable format string literals.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
0 files changed, 0 insertions, 0 deletions