Bug 135986

Summary: local variable used before set
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: boglAssignee: Miloslav Trmač <mitr>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-16 12:29:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2004-10-16 08:24:16 UTC
Description of problem:

I just tried to compile package bogl-0.1.18-2 from
Redhat Fedora Core 3 Test 2.

The compiler said

1.

wlite_wcstod.c(39): remark #592: variable "f" is used before its value
is set

The source code is

    return (double) f;

You might consider it prudent to initialise f before first use, even
if the code is marked "TODO".




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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Miloslav Trmač 2004-10-16 12:29:31 UTC
I think it is better to leave the code as is, warning wlite_wcstod()'s
developers or potential users, than to pretend everything should be
working.