git: 9front

Download patch

ref: 8682f23f6e095931007c21c139a5fbcf6645b970
parent: 6288d3c9f7d8aa6f51142b423001c027659e5675
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;
--