Bug 136466 - 2 * local variable used before set
Summary: 2 * local variable used before set
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-20 10:05 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-20 10:10:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-10-20 10:05:14 UTC
Description of problem:

I just tried to compile package firefox-0.10.1-1.0PR1.8 from package
Redhat Fedora Core 3 Test 3.

The compiler said

1.

jsdtoa.c(998): remark #592: variable "a" is used before its value is set

The source code is

        set_word0(a, L);

Suggest init a before first use.

2.

jsdtoa.c(1038): remark #592: variable "d" is used before its value is set

The source code is

        set_d0(Exp_1 | y >> (Ebits - k));

I'm not sure what the fix is for this.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Warren Togami 2004-10-20 10:10:51 UTC
It is inappropriate to report compiler warnings here, especially if it
is not confirmed to be a crasher or security issue.  Please report to
mozilla.org and make sure it is fixed there.


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