lib:util: Do not error for array-bounds warning
commit00e31d9d069db9fd36bf2e668047921a5645351d
authorAndreas Schneider <asn@samba.org>
Tue, 17 May 2022 10:43:51 +0000 (17 12:43 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 18 May 2022 06:58:35 +0000 (18 06:58 +0000)
treeb535710a538588ea6cc614f31fc9727adc635404
parentf2eb411646bbc3cbedd4aecaba98bd363a6cd3df
lib:util: Do not error for array-bounds warning

This just prints a warning for:

ms_fnmatch.c:95:51: error: array subscript 0 is outside array bounds of
‘struct max_n[0]’ [-Werror=array-bounds]
   95 |                         if (max_n != NULL && max_n->predot &&
      |

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
lib/util/wscript_build