aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-08-26 13:13:43 +0000
committerWerner Koch <[email protected]>2020-08-26 13:13:43 +0000
commit0be5decc097286e3502b6a12e019d40b8caf27b4 (patch)
tree96315fcdb9d439c55a0b03c807fc8284c471f542
parentagent: Allow TERM="". (diff)
downloadgnupg-0be5decc097286e3502b6a12e019d40b8caf27b4.tar.gz
gnupg-0be5decc097286e3502b6a12e019d40b8caf27b4.zip
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. --
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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])