On Sun, Dec 20, 2009 at 12:43:19PM +0200, Marin Mitov wrote: > On Sunday 20 December 2009 11:56:44 am Simon Horman wrote: > > On Sun, Dec 20, 2009 at 09:03:27AM +0200, Marin Mitov wrote: > > > Hello all, > > > > > > Silancing a false positive: > > > warning: 'width' may be used uninitialized in this function > > > drivers/gpu/drm/drm_edid.c > > > > Is it guaranteed that the switch will always see a value covered by the > > four cases it has? > > Yes it is. The value is masked (& 0xc0) so all the possible values are > (0x00, 0x40, 0x80, 0xc0) covered by the switch. That's why it is false > positive.
Of course, silly me. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
