On 05/18/15 07:42 PM, Peter Hutterer wrote:
False positive, if rlen/nbytes are unset we quit early before using it. Still,
initialize it so we don't have to deal with these warnings again.

Yeah - they have a common pattern that I could understand Coverity not being
able to follow, where it's the default value of another variable that triggers
the early exit, in the case where they are both not set.   Seems safe & simple
enough to just set them as you've done.

Reviewed-by: Alan Coopersmith <[email protected]>

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to