Bug 114280

Summary: used before set
Product: [Fedora] Fedora Reporter: d.binderman
Component: gnome-panelAssignee: Mark McLoughlin <markmc>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: leonard-rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.5.90-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-01 13:41:32 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:

Description d.binderman 2004-01-26 10:26:55 UTC
Description of problem:

I just tried to compile package gnome-panel-2.4.0-3, from Redhat
Fedora Core 1.

The compiler said

1.

menu-fentry.c(687): remark #592: variable "s" is used before its value
is set

The source code is

	ffr->mtime = s.st_mtime;

Suggest initialise s 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 Mark McLoughlin 2004-02-23 10:10:28 UTC
Thanks, fixed in gnome-panel HEAD now. It'll be in Raw Hide as soon as
I move to gnome-panel 2.5.90 in Raw Hide.

2004-02-23  Mark McLoughlin  <mark>
                                                                     
                                                                         
        * menu-fentry.c: (fr_check_and_reread): remove unused variable
        and fixup code that was correctly using it.