From fb28bc857649c2cab57476007e60827d7140c6f8 Mon Sep 17 00:00:00 2001 From: Don Bright Date: Sun, 18 Dec 2011 13:04:26 -0600 Subject: initialize variables in glview.cc diff --git a/src/glview.cc b/src/glview.cc index fb69f27..0c8394a 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -500,6 +500,7 @@ void GLView::paintGL() // FIXME: This was an attempt to keep contrast with background, but is suboptimal // (e.g. nearly invisible against a gray background). int r,g,b; + r=g=b=0; // bgcol.getRgb(&r, &g, &b); glColor3d((255.0-r)/255.0, (255.0-g)/255.0, (255.0-b)/255.0); glBegin(GL_LINES); -- cgit v0.10.1