[PATCH] Fix 'array subscript is above array bounds' warning in res_send.c

Adhemerval Zanella azanella@linux.vnet.ibm.com
Tue Dec 16 12:59:00 GMT 2014


On 16-12-2014 10:52, Siddhesh Poyarekar wrote:
> On Tue, Dec 16, 2014 at 10:27:58AM -0200, Adhemerval Zanella wrote:
>> I think the idea for such cases is to use DIAG_IGNORE_NEEDS_COMMENT
>> along with a comment why this is a false positive.
> But why bother with such ugliness if it can be handled with a single
> character change?
>
> Siddhesh

My understanding is to not shadow possible compiler issues with unrequired
code.



More information about the Libc-alpha mailing list