[ros-bugs] [Bug 6181] New: PATCH: patch_help.c_avoid_compiler_warnings.patch
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Sun May 1 00:05:09 UTC 2011
http://www.reactos.org/bugzilla/show_bug.cgi?id=6181
Summary: PATCH: patch_help.c_avoid_compiler_warnings.patch
Product: ReactOS
Version: TRUNK
Platform: x86 Hardware
OS/Version: ReactOS
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: Win32
AssignedTo: ros-bugs at reactos.org
ReportedBy: thechief at praised-land.de
QAContact: ros-bugs at reactos.org
Created an attachment (id=6279)
--> (http://www.reactos.org/bugzilla/attachment.cgi?id=6279)
Patch help.c to avoid compiler warnings.
This patch avoids the following compiler warnings:
dll\win32\hhctrl.ocx\help.c: In function 'CreateViewer':
dll\win32\hhctrl.ocx\help.c:1263: warning: 'x' may be used uninitialized in
this function
dll\win32\hhctrl.ocx\help.c:1263: note: 'x' was declared here
dll\win32\hhctrl.ocx\help.c:1263: warning: 'y' may be used uninitialized in
this function
dll\win32\hhctrl.ocx\help.c:1263: note: 'y' was declared here
By initializing the integer variable x and y correctly with zero's.
The patch is tested localy by myself on VirtualBox 4.0.6.
Have fun...
Markus
--
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