Bug 132679

Summary: local variable used before set
Product: [Fedora] Fedora Reporter: d.binderman
Component: pyxf86configAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-21 21:56:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1419906, 1422610    
Bug Blocks:    

Description d.binderman 2004-09-15 19:02:18 UTC
Description of problem:

I just tried to compile package pyxf86config-0.3.18-3 from
Redhat Fedora Core 3 Test 1.

The compiler said

pyxf86conf.c(2079): remark #592: variable "item" is used before its
value is set

The source code is

      range.lo = (float)PyInt_AsLong(item);

but the previous mention of item is

  PyObject *item;

I don't know what the fix is for this.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Adam Jackson 2006-04-19 17:54:18 UTC
still valid in 0.3.24.

Comment 2 Matthew Miller 2006-07-10 21:01:38 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Comment 3 Adam Jackson 2006-08-21 21:56:35 UTC
Fixed in 0.3.28-1.