Bug 149714 - local variable used before set
Summary: local variable used before set
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: GtkAda
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gérard Milmeister
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-25 18:01 UTC by David Binderman
Modified: 2008-02-07 00:07 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2008-02-07 00:07:10 UTC


Attachments (Terms of Use)

Description David Binderman 2005-02-25 18:01:29 UTC
Description of problem:

I just tried to compile package GtkAda-2.4.0-2 from 
Redhat Fedora Extras development tree.

The compiler said

gtkplot3d.c(1026): remark #592: variable "y" is used before its value
is set

The source code is

           y += text_height / 2.;

but y hasn't been written to since it's declaration

  gdouble y;

Suggest init y 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 Christian Iseli 2007-01-17 23:19:50 UTC
FC3 and FC4 have now been EOL'd.

Please check the ticket against a current Fedora release, and either adjust the
release number, or close it if appropriate.

Thanks.

Your friendly BZ janitor :-)

Comment 2 petrosyan 2008-02-07 00:07:10 UTC
Fedora Core 3 is not maintained anymore.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release please reopen this bug and assign it to the corresponding
Fedora version.


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