This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]