From b1653689da59f51123d2e675fbf72326f8aeffe2 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 23 Jul 2018 23:58:59 +0200 Subject: [PATCH] silenced an 'uninitialized variable' warning --- polygons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygons.cpp b/polygons.cpp index e4a0efc8..2be8ecf4 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -215,7 +215,7 @@ void addpoly(const transmatrix& V, const vector &tab, int ofs, int cnt hyperpoint last = V * glhr::gltopoint(tab[ofs]); bool last_behind = is_behind(last); if(!last_behind) addpoint(last); - hyperpoint enter; + hyperpoint enter = C0; hyperpoint firstleave; int start_behind = last_behind ? 1 : 0; for(int i=ofs+1; i