build: Ensure -Werror=format works with -Wformat=2 on NULL format strings
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Aug 2012 10:43:07 +0000 (20:43 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 Aug 2012 12:50:16 +0000 (14:50 +0200)
commit6ce362afeff0cb5094eb6b1ecfa639252cdcc7f8
tree4e18a116a44b549e2e3254a43d94297110034d50
parenta7b8e9f562780dc6a3487644623decd1cff226e2
build: Ensure -Werror=format works with -Wformat=2 on NULL format strings

This should fix the build on some gcc versions, (noticed on FreeBSD by Volker).

We want the protection of -Werror=format without the errors extending
to the format string itself being NULL, because that is valid for
ldb_search().

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Aug 17 14:50:16 CEST 2012 on sn-devel-104
buildtools/wafsamba/samba_autoconf.py