mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[GLU32]
- Properly fix compiler warning, by initializing the integer array with zeros. Remove GNUC #ifdef, introduced in rev 42970. Patch by Markus (thechief at praise dash land dot de) See issue #6179 for more details. svn path=/trunk/; revision=51767
This commit is contained in:
parent
1b67224a55
commit
78791f6abe
1 changed files with 1 additions and 7 deletions
|
@ -178,13 +178,7 @@ Subdivider::arc_split( Arc_ptr jarc, int param, REAL value, int dir )
|
||||||
Arc_ptr jarc1;
|
Arc_ptr jarc1;
|
||||||
TrimVertex* v = jarc->pwlArc->pts;
|
TrimVertex* v = jarc->pwlArc->pts;
|
||||||
|
|
||||||
int loc[3];
|
int loc[3] = {0,0,0};
|
||||||
|
|
||||||
#if defined(__GNUC__) && \
|
|
||||||
(__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ == 40400)
|
|
||||||
/* Silence incorrect GCC 4.4.0 warnings */
|
|
||||||
loc[0] = loc[1] = loc[2] = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
switch( pwlarc_intersect( jarc->pwlArc, param, value, dir, loc ) ) {
|
switch( pwlarc_intersect( jarc->pwlArc, param, value, dir, loc ) ) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue