diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-08-21 02:21:21 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-08-21 02:21:21 +0200 |
commit | 976d19960f00d3940ee9fbcceec54b7f92889654 (patch) | |
tree | 0af8b7747735c23c6c79355eb8030f2512244bcd | |
parent | b1b347a0f43414a86c98b436fac93e9a1789a317 (diff) | |
download | plan9front-976d19960f00d3940ee9fbcceec54b7f92889654.tar.xz |
vncs: fix uninterruptable temporary warning
-rw-r--r-- | sys/src/cmd/vnc/vncs.c | 4 |
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; |