Bug 149714 - local variable used before set
Summary: local variable used before set
Keywords:
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:
Depends On:
Blocks: 1919899
TreeView+ depends on / blocked
 
Reported: 2005-02-25 18:01 UTC by David Binderman
Modified: 2021-08-26 15:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-07 00:07:10 UTC
Type: ---
Embargoed:


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.