ref: 976d19960f00d3940ee9fbcceec54b7f92889654
parent: b1b347a0f43414a86c98b436fac93e9a1789a317
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Aug 20 22:21:21 EDT 2018
vncs: fix uninterruptable temporary warning
--- a/sys/src/cmd/vnc/vncs.c
+++ b/sys/src/cmd/vnc/vncs.c
@@ -969,14 +969,12 @@
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;