ref: e49f163ef3a8b19e3806f0817a9390d1dd16e654
parent: 4c0c82d6f7d7725cff163b99258b8fc2e8e814cc
author: ftrvxmtrx <[email protected]>
date: Wed Nov 16 21:12:49 EST 2016
clock: remove unused variable
--- a/sys/src/cmd/clock.c
+++ b/sys/src/cmd/clock.c
@@ -23,10 +23,8 @@
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 @@
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);