These warnings don't really seem to make much sense for this file. Signed-off-by: Samuel Bronson <naesten@xxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html