[ros-bugs] [Bug 3912] New: Fix compiler messages "error: 'bar' may be used uninitialized in this function"
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Wed Nov 26 10:09:52 CET 2008
http://www.reactos.org/bugzilla/show_bug.cgi?id=3912
Summary: Fix compiler messages "error: 'bar' may be used
uninitialized in this function"
Product: ReactOS
Version: TRUNK
Platform: x86 Hardware
OS/Version: ReactOS
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: Patches
AssignedTo: ros-bugs at reactos.org
ReportedBy: hto at dev.null
QAContact: ros-bugs at reactos.org
Created an attachment (id=3283)
--> (http://www.reactos.org/bugzilla/attachment.cgi?id=3283)
Patch for the kernel
Compiling ReactOS with GCC-4.4.0, I see messages like this one:
cc1: warnings being treated as errors
ntoskrnl/ke/bug.c: In function 'KeRosDumpStackFrameArray':
ntoskrnl/ke/bug.c:239: error: 'LdrEntry' may be used uninitialized in this
function
Though LdrEntry is not actually used uninitialized, GCC can't see that if (p)
then LdrEntry is initialized. Do not lead GCC into temptation, initialize these
variables.
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Ros-bugs
mailing list