Bug 136759 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Glide3
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alan Cox
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-22 08:09 UTC by David 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-10-22 11:50:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-10-22 08:09:05 UTC
Description of problem:

I just tried to compile package Glide3-20010520-33 from package
Redhat Fedora Core 3 Test 3.

The compiler said

../../../../h3/glide3/src/gaa.c(583): remark #592: variable "e" is
used before its value is set

The source code is

  GDBG_INFO(94,"_grAADrawPoints(0x%x)\n",e);

Suggest init e 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 Alan Cox 2004-10-22 11:50:13 UTC
Wont fix this. Its just a debug print and the authors appear to intend
the behaviour.



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