clock: remove unused variable

This commit is contained in:
ftrvxmtrx 2016-11-17 02:12:49 +01:00
parent 4c0c82d6f7
commit e49f163ef3

View file

@ -23,10 +23,8 @@ redraw(Image *screen)
static Rectangle r;
static Point c;
static int rad;
static Image *im;
int i;
int anghr, angmin;
static Tm tms;
static Tm ntms;
ntm = time(0);
@ -37,7 +35,6 @@ redraw(Image *screen)
anghr = 90-(ntms.hour*5 + ntms.min/12)*6;
angmin = 90-ntms.min*6;
tm = ntm;
tms = ntms;
r = screen->r;
c = divpt(addpt(r.min, r.max), 2);
rad = Dx(r) < Dy(r) ? Dx(r) : Dy(r);