X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fpetri.c;h=860d0349e95e39cb28a293f2f77086e6641bba77;hp=03f3bf42cef1d15bdd3b92d4d5b4dfdc86c45efc;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 diff --git a/hacks/petri.c b/hacks/petri.c index 03f3bf42..860d0349 100644 --- a/hacks/petri.c +++ b/hacks/petri.c @@ -243,7 +243,6 @@ static void setup_display (struct state *st) { XWindowAttributes xgwa; - Colormap cmap; int cell_size = get_integer_resource (st->dpy, "size", "Integer"); int osize, alloc_size, oalloc; @@ -398,8 +397,6 @@ setup_display (struct state *st) st->mindeathspeed *= st->diaglim; st->maxdeathspeed *= st->diaglim; - cmap = xgwa.colormap; - st->windowWidth = xgwa.width; st->windowHeight = xgwa.height;