Bug 114989 - missing initialisation ?
missing initialisation ?
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: libgal2 (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Malcolm
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-02-05 04:48 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-05-17 21:52:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description d.binderman 2004-02-05 04:48:42 EST
Description of problem:

I just tried to compile package libgal2-1.99.10 from Redhat
Fedora Core 1.

The compiler said

1.

gal-view-new-dialog.c(251): remark #592: variable "entry" is used
before its value is set

        GtkWidget *entry;

        dialog = GAL_VIEW_NEW_DIALOG (object);

        switch (prop_id){
        case PROP_NAME:

                if (entry && GTK_IS_ENTRY(entry)) {

Suggest init entry 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 Dave Malcolm 2004-05-05 19:37:52 EDT
(This is fixed in CVS HEAD)
Comment 2 David Binderman 2004-11-23 03:19:08 EST
>(This is fixed in CVS HEAD)

Possibly, but I can confirm that this bug still exists in the
version in Fedora Core 3.
Comment 3 David Binderman 2005-02-18 07:39:53 EST
Tis bug still exists in February 2005, more than a year
after it was originally reported.

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