mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-22 19:58:29 +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
4c8d5eb0bd
commit
0be5decc09
@ -1596,6 +1596,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