Red Hat Bugzilla – Bug 149463
local variable used before set
Last modified: 2007-11-30 17:11:00 EST
Description of problem:
I just tried to compile package conglomerate-0.9.0-1 from
Redhat Fedora Extras development tree.
The compiler said
cong-error-file-save.c(162): remark #592: variable "volume_capacity"
is used before its value is set
The source code is
char* volume_capacity_string =
Suggest initialise volume_capacity before first use.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
WFM, no error on FC3.
Can you provide some additional information:
which release of Fedora are you using?
are you using any kind of build system?
is there anything custom about your system (not core + extras)?
He's looking for compiler warnings, probably adding -Wall to rpm
optflags and rebuilding all of Extras.
This one is not a bug. Rationale given in lines 152-159.
>are you using any kind of build system?
The clue is in the remark message - I hope you can recognise
that it isn't a message produced by the GNU C compiler.
In fact, I am using the most excellent Intel C compiler
- better messages (see above) and better code generation.
For conglomerate, this does appear to be code that is
"work in progress" - plenty of commented out bits.