build: Make -Werror=format check only run where NULL is still accepted
authorAndrew Bartlett <abartlet@samba.org>
Mon, 6 Aug 2012 08:46:30 +0000 (18:46 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Aug 2012 10:51:56 +0000 (20:51 +1000)
commit33c79c8731ea0c1ab78583a7c50953c56aea539f
tree1bd73471184be5a1405c0248a76c44a4a0e5291a
parent0514a84f7e7d44eae3c7fcc85fc804af6fbfda6b
build: Make -Werror=format check only run where NULL is still accepted

This is needed because ldb_search() allows a NULL parameter for the format string
and this needs to be permitted by the format string checker before we want to
make this error fatal.

Andrew Bartlett
buildtools/wafsamba/samba_autoconf.py