Bug 141944 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-vfs2
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-06 09:59 UTC by David Binderman
Modified: 2008-08-02 23:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-01 14:55:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-12-06 09:59:19 UTC
Description of problem:

I just tried to compile package gnome-vfs2-2.8.2-8 from Redhat Fedora
Core 3.

The compiler said

http-proxy.c(344): remark #592: variable "mask" is used before its
value is set

The source code is

            elt->addr.s_addr &= mask.s_addr;

Suggest init mask before first use.


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Matthew Miller 2006-07-10 22:14:48 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 2 Alexander Larsson 2006-09-01 14:55:54 UTC
Fixed in latest version.


Note You need to log in before you can comment on or make changes to this bug.