]> git.ipfire.org Git - thirdparty/git.git/commit
ident.c: replace fprintf with fputs to suppress compiler warning
authorTarmigan Casebolt <tarmigan+git@gmail.com>
Sun, 17 Jan 2010 08:19:24 +0000 (00:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jan 2010 23:25:38 +0000 (15:25 -0800)
commit8b770a2a24456089c0dd0230035a7d88aee7e26a
tree1a4c16c0188390614546c75021c6e20b48877f84
parent5aeb3a3a838b2cb03d250f3376cf9c41f4d4608e
ident.c: replace fprintf with fputs to suppress compiler warning

Compiling today's pu gave
    ...
    CC ident.o
    CC levenshtein.o
ident.c: In function 'fmt_ident':
ident.c:206: warning: format not a string literal and no format arguments
    CC list-objects.o
    ...

This warning seems to have appeared first in 18e95f279ec6 (ident.c:
remove unused variables) which removed additional fprintf arguments.

Suppress this warning by using fputs instead of fprintf.

Signed-off-by: Tarmigan Casebolt <tarmigan+git@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ident.c