mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
trace: remove redundant printf format attribute
trace_printf_key() is the only non-static function that duplicates the printf format attribute in the .c file, remove it for consistency. Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
4a3b0b25f1
commit
0d0424272f
1
trace.c
1
trace.c
@ -75,7 +75,6 @@ static void trace_vprintf(const char *key, const char *format, va_list ap)
|
|||||||
strbuf_release(&buf);
|
strbuf_release(&buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((format (printf, 2, 3)))
|
|
||||||
void trace_printf_key(const char *key, const char *format, ...)
|
void trace_printf_key(const char *key, const char *format, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
Loading…
Reference in New Issue
Block a user