- 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:
Olaf Siejka 2011-05-15 15:51:26 +00:00
parent 1b67224a55
commit 78791f6abe

View file

@ -178,13 +178,7 @@ Subdivider::arc_split( Arc_ptr jarc, int param, REAL value, int dir )
Arc_ptr jarc1;
TrimVertex* v = jarc->pwlArc->pts;
int loc[3];
#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
int loc[3] = {0,0,0};
switch( pwlarc_intersect( jarc->pwlArc, param, value, dir, loc ) ) {