[Mesa-dev] [PATCH 2/4] nouveau/compiler: init the size and code variables to NULL/0

Ilia Mirkin imirkin at alum.mit.edu
Fri Jun 5 13:23:49 PDT 2015


Sure. Fix it in GCC :) disable the bogus warning, whatever. I really really
hate pandering to broken tools, sending the message that it's ok for the
tools to be broken.
On Jun 5, 2015 5:20 PM, "Martin Peres" <martin.peres at linux.intel.com> wrote:

> On 05/06/15 17:12, Ilia Mirkin wrote:
>
>>
>> But if codegen fails, the code is never displayed as I recall. Again,
>> this I'd going from memory...
>>
>>
> Good memory. It looks ugly though.
>
> In general, I would still want to fix the warning because I hate needing
> to revert my patches to check if I introduced warnings or not. In this
> particular case it is probably OK because no-one will likely touch this
> file for the foreseeable future :)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150605/1292aa4f/attachment-0001.html>


More information about the mesa-dev mailing list