Bug 116453 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: file-roller
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-21 10:19 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-27 16:25:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2004-02-21 10:19:38 UTC
Description of problem:

I just tried to compile development package file-roller-2.5.2-1

The compiler said

dlg-add.c(643): remark #592: variable "same_fs" is used before its
value is set

The source code is

        config_set_bool   (opt_file_path, "same_fs", same_fs);

Suggest init same_fs 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 Marco Pesenti Gritti 2004-10-27 16:25:42 UTC
The problem is no more in recent versions of file-roller.


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