X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fcrackberg.c;h=d12f0b3043c2273921b98d362e959e422e38565b;hp=1e86dee5b21e636dcce473036102b0ccd2880cc4;hb=0d6b320def9180cf907ceaed56b23a972a11b757;hpb=3f438031d610c7e15fd33876a879b97e290e05fb diff --git a/hacks/glx/crackberg.c b/hacks/glx/crackberg.c index 1e86dee5..d12f0b30 100644 --- a/hacks/glx/crackberg.c +++ b/hacks/glx/crackberg.c @@ -719,7 +719,7 @@ static void triles_set_visible(cberg_state *cberg, Trile **root, int x, int y) { Trile *parent = NULL, *iter = *root; - int goleft; + int goleft=0; while (iter != NULL) { parent = iter; @@ -999,7 +999,7 @@ static void find_bounds(double y, double *left, double *right, LS *ls, static void mark_visible(cberg_state *cberg) { - double trough, peak, yval, left, right; + double trough, peak, yval, left=0, right=0; double x1,y1, x2,y2, x3,y3, x4,y4; int start, stop, x, y; LS ls[4];