shithub: riscv

Download patch

ref: 412b7501e4888573c42951388c58f09795a44904
parent: 064a987bd8b3f3172bce73522cab9b21587bbc0e
author: spew <devnull@localhost>
date: Sat Feb 18 04:07:46 EST 2017

games/mix: remove unused variable

--- a/sys/src/games/mix/mix.c
+++ b/sys/src/games/mix/mix.c
@@ -324,7 +324,6 @@
 yylex(void)
 {
 	static Rune buf[11];
-	static int bol;
 	Rune r, *bp, *ep;
 	static char cbuf[100];
 	int isnum;
@@ -349,12 +348,10 @@
 	case '(':
 	case ')':
 	case '=':
-		bol = 0;
 		return r;
 	case '/':
 		r = getr();
 		if(r == '/') {
-			bol = 0;
 			return LSS;
 		} else
 			Bungetrune(&bin);