From: Samuel Bronson Date: Fri, 20 Dec 2013 15:45:01 GMT Subject: [PATCH] wt-status.c: disable those distracting -Wformat-zero-length warnings Message-ID: <1387554301-23901-1-git-send-email-naesten@gmail.com> These warnings don't really seem to make much sense for this file. Signed-off-by: Samuel Bronson --- wt-status.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wt-status.c b/wt-status.c index 4e55810..542cc65 100644 --- a/wt-status.c +++ b/wt-status.c @@ -17,6 +17,11 @@ #include "strbuf.h" #include "utf8.h" +/* We have good reasons for using zero-length format strings, and + * there's unfortunately no way to turn this off on a per-function + * basis ... */ +#pragma GCC diagnostic ignored "-Wformat-zero-length" + static char cut_line[] = "------------------------ >8 ------------------------\n"; -- 1.8.4.3