mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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:
parent
4699911f04
commit
90a87d96ea
@ -1620,6 +1620,7 @@ if test "$GCC" = yes; then
|
|||||||
if test x"$_gcc_wopt" = xyes ; then
|
if test x"$_gcc_wopt" = xyes ; then
|
||||||
mycflags="$mycflags -W -Wno-sign-compare -Wno-format-zero-length"
|
mycflags="$mycflags -W -Wno-sign-compare -Wno-format-zero-length"
|
||||||
mycflags="$mycflags -Wno-missing-field-initializers"
|
mycflags="$mycflags -Wno-missing-field-initializers"
|
||||||
|
mycflags="$mycflags -Wno-format-zero-length"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING([if gcc supports -Wdeclaration-after-statement])
|
AC_MSG_CHECKING([if gcc supports -Wdeclaration-after-statement])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user