From 0be5decc097286e3502b6a12e019d40b8caf27b4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 26 Aug 2020 15:13:43 +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 e2dcdfd11..023e32c4b 100644 --- a/configure.ac +++ b/configure.ac @@ -1596,6 +1596,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])