build: disable format-zero-length warning
authorUri Simchoni <uri@samba.org>
Mon, 20 Nov 2017 08:17:16 +0000 (10:17 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Nov 2017 09:20:21 +0000 (10:20 +0100)
commite973ac06431183b25cecf61053f3a23c91b88de6
treed4a810b1327e96d4a75d21b3b0e05b28868ee4dd
parent7a2d8aa084d3b9e54eb358d46e1f26c4c6875390
build: disable format-zero-length warning

format-zero-length warns against printf-style calls with
zero-length format string. vfs_full_audit module has such
calls, and up until now there was no warning against it because
the do_log in vfs_full_audit is not recognized as printf-style
function. In a following commit the do_log will be converted to
a printf-style function, hence the need to disable this warning.

(an alternative would be to disable only for vfs_full_audit, but that
would complicate things needlessly).

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_autoconf.py