summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/vnc/vncs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/src/cmd/vnc/vncs.c b/sys/src/cmd/vnc/vncs.c
index 3c9928c11..0b200bf95 100644
--- a/sys/src/cmd/vnc/vncs.c
+++ b/sys/src/cmd/vnc/vncs.c
@@ -969,15 +969,13 @@ static int
updateimage(Vncs *v)
{
int i, j, ncount, nsend, docursor, dowarp, doresize;
- vlong ooffset, t1;
+ vlong ooffset = 0, t1 = 0;
Point warppt;
Rectangle cr;
Rlist rlist;
int (*count)(Vncs*, Rectangle);
int (*send)(Vncs*, Rectangle);
- ooffset = t1 = 0;
-
vnclock(v);
dowarp = v->canwarp && v->dowarp;
warppt = v->warppt;