Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
Created an attachment (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