From 18a023327af616513e3baac9f87e9c668fc5a5ce Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 17 Oct 2018 10:43:25 +0200 Subject: poly.h: remove old compiler workaround (nw) --- src/devices/video/poly.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/devices/video/poly.h b/src/devices/video/poly.h index c619c50c2a1..bd656b4147c 100644 --- a/src/devices/video/poly.h +++ b/src/devices/video/poly.h @@ -718,12 +718,6 @@ uint32_t poly_manager<_BaseType, _ObjectData, _MaxParams, _MaxPolys>::render_tri } } } - else // GCC 4.7.0 incorrectly claims these are uninitialized; humor it by initializing in the (hopefully rare) zero parameter case - { - param_start[0] = _BaseType(0.0); - param_dpdx[0] = _BaseType(0.0); - param_dpdy[0] = _BaseType(0.0); - } // compute the X extents for each scanline int32_t pixels = 0; -- cgit v1.2.3