[ros-bugs] [Bug 6179] New: PATCH: patch_intersect.cc_avoid_compiler_warnings.patch
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Sat Apr 30 16:48:13 UTC 2011
http://www.reactos.org/bugzilla/show_bug.cgi?id=6179
Summary: PATCH: patch_intersect.cc_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
This patch avoids the following compiler warnings:
dll\win32\glu32\libnurbs\internals\intersect.cc: In member function 'int
Subdivider::arc_split(Arc*, int, REAL, int)':
dll\win32\glu32\libnurbs\internals\intersect.cc:181: warning: 'loc[2]' may be
used uninitialized in this function
dll\win32\glu32\libnurbs\internals\intersect.cc:181: warning: 'loc[0]' may be
used uninitialized in this function
dll\win32\glu32\libnurbs\internals\intersect.cc:181: warning: 'loc[1]' may be
used uninitialized in this function
By initializing the integer array loc[3] 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