waf: Do not trhow a format-truncation error for test/snprintf.c
authorAndreas Schneider <asn@samba.org>
Thu, 1 Jun 2017 12:24:42 +0000 (14:24 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 1 Jun 2017 17:35:10 +0000 (19:35 +0200)
commit1670d00be88108a483f04c9763012504499b99e4
treeb4acbff4e5dacfc641766bcc32f5fa50d2409b47
parent94e21c139f9b0c1d28ee85fdcb9b7490cc64e27b
waf: Do not trhow a format-truncation error for test/snprintf.c

This fixes building with GCC 7.1

Error:
../lib/replace/test/testsuite.c:355:6: error: ā€˜%dā€™ directive output
truncated writing 1 byte into a region of size 0
[-Werror=format-truncation=]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/replace/wscript