Andreas Färber <afaer...@suse.de> writes:

> Am 30.01.2014 15:07, schrieb Markus Armbruster:
>> error_is_set(&var) is the same as var != NULL, but it takes
>> whole-program analysis to figure that out.  Unnecessarily hard for
>> optimizers, static checkers, and human readers.  Dumb it down to
>> obvious.
>> 
>> Gets rid of several dozen Coverity false positives.
>> 
>> Note that the obvious form is already used in many places.
>> 
>> Signed-off-by: Markus Armbruster <arm...@redhat.com>
>
> Reviewed-by: Andreas Färber <afaer...@suse.de>

Thanks!

> I don't suppose you used a Coccinelle script that we could re-run in the
> future? ;)

Perhaps I should've, but since the job was simple enough for
M-x tags-query-replace...

> Via QMP queue?

Yes, please.

Reply via email to