Bug 5595 - fbbits.h: dangerously uninitialized variable
Summary: fbbits.h: dangerously uninitialized variable
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-14 10:13 UTC by Adam Jackson
Modified: 2006-02-14 00:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.