shithub: riscv

Download patch

ref: 68571320fa2ba4f993199370d60dc4dbd114bea8
parent: 3b1f13cb36bbe32e7ac685b288a2baefe1dba824
author: cinap_lenrek <[email protected]>
date: Sun May 29 14:23:42 EDT 2016

libmemdraw: remove unused static variable from memimagedraw()

--- a/sys/src/libmemdraw/draw.c
+++ b/sys/src/libmemdraw/draw.c
@@ -102,7 +102,6 @@
 void
 memimagedraw(Memimage *dst, Rectangle r, Memimage *src, Point p0, Memimage *mask, Point p1, int op)
 {
-	static int n = 0;
 	Memdrawparam par;
 
 	if(mask == nil)