ref: 56a2263aae5a239e7b2a3e02809d887b1e0842b2
parent: e1907b41d32441e79e8cc3db26afc5f0c4cdcef9
author: mischief <mischief@offblast.org>
date: Mon Aug 20 08:51:29 EDT 2018
vncs: shut up used and not set warning
--- a/sys/src/cmd/vnc/vncs.c
+++ b/sys/src/cmd/vnc/vncs.c
@@ -969,13 +969,14 @@
updateimage(Vncs *v)
{
int i, j, ncount, nsend, docursor, dowarp, doresize;
- vlong ooffset;
+ vlong ooffset, t1;
Point warppt;
Rectangle cr;
Rlist rlist;
- vlong t1;
int (*count)(Vncs*, Rectangle);
int (*send)(Vncs*, Rectangle);
+
+ ooffset = t1 = 0;
vnclock(v);
dowarp = v->canwarp && v->dowarp;