Bug 5595

Summary: fbbits.h: dangerously uninitialized variable
Product: xorg Reporter: Adam Jackson <ajax>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Adam Jackson 2006-01-14 10:13:05 UTC
fbbits.h: In function 'fbPolySegment32':
fbbits.h:832: warning: 'bits' is used uninitialized in this function
fbbits.h: In function 'fbPolySegment24':
fbbits.h:832: warning: 'bits' is used uninitialized in this function
fbbits.h: In function 'fbPolySegment16':
fbbits.h:832: warning: 'bits' is used uninitialized in this function
fbbits.h: In function 'fbPolySegment8':
fbbits.h:832: warning: 'bits' is used uninitialized in this function

bits is first used as the target of a +=.
Comment 1 Benjamin Herrenschmidt 2006-02-14 19:15:45 UTC
It's overriden by something sane before being used, so that's not really a 
bug. That line is just stale. Removing it from trunk. 

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.