Fix the 'array subscript is above array bounds' warning correctly
commit0cd8552045aeb0537b4f1ab5d1b30ada8ae50076
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 16 Dec 2014 14:10:47 +0000 (16 19:40 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 16 Dec 2014 14:10:47 +0000 (16 19:40 +0530)
treec466784133086fcb0337f10e95a56cba41d86eec
parenta0d424ef9d7fc34f7d1a516f38c8efb1e8692a03
Fix the 'array subscript is above array bounds' warning correctly

Use DIAG_IGNORE_NEEDS_COMMENT instead since the compiler should have
seen that NS never goes beyond MAXNS.
ChangeLog
resolv/res_send.c