diff options
author | Werner Koch <[email protected]> | 2020-08-26 13:13:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-08-26 13:13:43 +0000 |
commit | 0be5decc097286e3502b6a12e019d40b8caf27b4 (patch) | |
tree | 96315fcdb9d439c55a0b03c807fc8284c471f542 | |
parent | agent: Allow TERM="". (diff) | |
download | gnupg-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.ac | 1 |
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]) |