Red Hat Bugzilla – Bug 135986
local variable used before set
Last modified: 2007-11-30 17:10:52 EST
Description of problem:
I just tried to compile package bogl-0.1.18-2 from
Redhat Fedora Core 3 Test 2.
The compiler said
wlite_wcstod.c(39): remark #592: variable "f" is used before its value
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):
Steps to Reproduce:
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