summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2020-05-05 11:42:28 +1200
committerAndreas Schneider <asn@cryptomilk.org>2020-05-08 11:16:18 +0000
commite907f002a7f3184d09135066c3ffb12d95007769 (patch)
tree987c3c3a8f059c21de1998baf3e8b8eaaf1a9e36 /buildtools
parent8c17b6f82fd8d40d4ba0819ebc6e6c55fe2fb012 (diff)
downloadsamba-e907f002a7f3184d09135066c3ffb12d95007769.tar.gz
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 <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri May 8 11:16:18 UTC 2020 on sn-devel-184
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py1
1 files changed, 0 insertions, 1 deletions
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)