Bug 149400 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: brightside
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thorsten Leemhuis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-22 18:19 UTC by David Binderman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-20 18:01:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-02-22 18:19:08 UTC
Description of problem:

I just tried to compile package brightside-1.4.0-3 from 
Redhat Fedora Extras development tree.

The compiler said

brightside-fb-level.c(54): remark #592: variable "self" is used before
its value is set

The source code is

{
        BrightsideFblevel *self;// = BRIGHTSIDE_FBLEVEL (obj_self);
        gpointer priv = self->_priv;

Suggest init self 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 Thorsten Leemhuis 2005-04-20 18:01:21 UTC
Should be fixed by newest version in devel


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