Fix clang 9 for-loop-analysis warnings
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 4 May 2020 23:42:28 +0000 (11:42 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 8 May 2020 11:16:18 +0000 (11:16 +0000)
commite907f002a7f3184d09135066c3ffb12d95007769
tree987c3c3a8f059c21de1998baf3e8b8eaaf1a9e36
parent8c17b6f82fd8d40d4ba0819ebc6e6c55fe2fb012
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
buildtools/wafsamba/samba_autoconf.py
source4/libcli/resolve/lmhosts.c