From e907f002a7f3184d09135066c3ffb12d95007769 Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Tue, 5 May 2020 11:42:28 +1200 Subject: Fix clang 9 for-loop-analysis warnings Review-note: The for loop increment operation was changed and the trailing i++ was removed from the loop body. The resulting for statement is equivalent to the original Signed-off-by: Gary Lockyer Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri May 8 11:16:18 UTC 2020 on sn-devel-184 --- buildtools/wafsamba/samba_autoconf.py | 1 - 1 file changed, 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 875fb394d51..276b88780b8 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -791,7 +791,6 @@ int main(void) { conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Werror -Wno-error=deprecated-declarations', testflags=True) conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=tautological-compare', testflags=True) conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=cast-align', testflags=True) - conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=for-loop-analysis', testflags=True) if Options.options.fatal_errors: conf.ADD_CFLAGS('-Wfatal-errors', testflags=True) -- cgit v1.2.1