Bug 116665 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xsnow
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-24 09:13 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-02-24 20:20:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2004-02-24 09:13:38 UTC
Description of problem:

I just tried to compile Core2 Test1 package xsnow-1.42-12

The compiler said

1.

xsnow.c(958): remark #592: variable "NewY" is used before its value is set

The source code is


                                NewY = NewY+3;

Suggest init local variable NewY 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 Than Ngo 2004-02-24 20:20:47 UTC
it's fixed in 1_42-14



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