From: Karsten Blees Date: Wed, 11 Jun 2014 07:57:59 +0000 (+0200) Subject: trace: remove redundant printf format attribute X-Git-Tag: v2.1.0-rc0~13^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d0424272f85afb5262613829cf1f48f994cebc7;p=git 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 Signed-off-by: Junio C Hamano --- diff --git a/trace.c b/trace.c index 37a7fa9640..3e315587e0 100644 --- a/trace.c +++ b/trace.c @@ -75,7 +75,6 @@ static void trace_vprintf(const char *key, const char *format, va_list ap) strbuf_release(&buf); } -__attribute__((format (printf, 2, 3))) void trace_printf_key(const char *key, const char *format, ...) { va_list ap;