vncs: fix uninterruptable temporary warning

This commit is contained in:
cinap_lenrek 2018-08-21 02:21:21 +02:00
parent b1b347a0f4
commit 976d19960f

View file

@ -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;