summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorKarsten Blees <karsten.blees@gmail.com>2014-06-11 07:57:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-06-17 16:37:47 (GMT)
commit0d0424272f85afb5262613829cf1f48f994cebc7 (patch)
treedc582524b42a908bb2793a41a718526f1d76fa08 /trace.c
parent4a3b0b25f182727876bfb01748b2d00dd43f9ad7 (diff)
downloadgit-0d0424272f85afb5262613829cf1f48f994cebc7.zip
git-0d0424272f85afb5262613829cf1f48f994cebc7.tar.gz
git-0d0424272f85afb5262613829cf1f48f994cebc7.tar.bz2
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>
Diffstat (limited to 'trace.c')
-rw-r--r--trace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trace.c b/trace.c
index 37a7fa9..3e31558 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;