[LLVMbugs] [Bug 1237] NEW: Uninitialized variables in lib/CodeGen/MachOWriter.cpp
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Mar 2 12:57:50 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1237
Summary: Uninitialized variables in lib/CodeGen/MachOWriter.cpp
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: me22.ca at gmail.com
make[2]: Entering directory `/home/me22/programming/llvm-cvs/lib/CodeGen'
llvm[2]: Compiling MachOWriter.cpp for Release build
MachOWriter.cpp: In member function ‘void
llvm::MachOWriter::CalculateRelocations(llvm::MachOWriter::MachOSection&)’:
MachOWriter.cpp:740: warning: ‘TargetIndex’ may be used uninitialized in this
function
MachOWriter.cpp:739: warning: ‘TargetAddr’ may be used uninitialized in this
function
The code does look like they're used w/o being initialized. I'm not certain it
matters, but eliminating the warnings would be good anyways.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list