From 90a87d96eaf5b97cd53cb0ee0495b646be7b84bb Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 26 Aug 2020 15:15:34 +0200 Subject: [PATCH] build: Silence gcc warning -Wformat-zero-length * configure.ac: Avoid useless gcc warning. We use an empty string quite often, for example in log_printhex. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 47d52fbdc..b76f18264 100644 --- a/configure.ac +++ b/configure.ac @@ -1620,6 +1620,7 @@ if test "$GCC" = yes; then if test x"$_gcc_wopt" = xyes ; then mycflags="$mycflags -W -Wno-sign-compare -Wno-format-zero-length" mycflags="$mycflags -Wno-missing-field-initializers" + mycflags="$mycflags -Wno-format-zero-length" fi AC_MSG_CHECKING([if gcc supports -Wdeclaration-after-statement])