1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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:15:34 +02:00
parent 4699911f04
commit 90a87d96ea
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

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