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.
--
This commit is contained in:
Werner Koch 2020-08-26 15:13:43 +02:00
parent 4c8d5eb0bd
commit 0be5decc09
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 0 deletions

View File

@ -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])