Bug 118077 - 2 * used before set
Summary: 2 * 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: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-11 20:01 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-03-16 13:11:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2004-03-11 20:01:24 UTC
Description of problem:

I just tried to compile Fedora Core2 Test1 package file-roller-2.5.2-1

The compiler said

1.

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.

2.

window.c(3639): remark #592: variable "window" is used before its
value is set

The source code is

        FRWindow *window;
        GError   *gerror;
        gboolean  success;

        g_return_val_if_fail (window != NULL, FALSE);

Clearly broken code.  Suggest init window 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 Alexander Larsson 2004-03-16 13:11:19 UTC
This variable/code is gone in 2.5.6-1, so i think this is fixed.



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