From 560401e1ff3441680f11e170960032633ffdad02 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 21 May 2016 17:24:51 +0000 Subject: [PATCH] Fix -Wshadow warnings in check_face --- similar/main/render.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/similar/main/render.cpp b/similar/main/render.cpp index 16dd734e2..1f87f1718 100644 --- a/similar/main/render.cpp +++ b/similar/main/render.cpp @@ -390,8 +390,10 @@ static void check_face(segnum_t segnum, int sidenum, int facenum, unsigned nv, c #ifdef OGL ogl_end_frame(); #endif + { uint8_t color = 0; gr_pixel(_search_x,_search_y, color); //set our search pixel to color zero + } #ifdef OGL ogl_start_frame(); #endif