shithub: riscv

Download patch

ref: 29a28c9a443d20dbf7c9f0d869c3f70bf3f96c1f
parent: e2566e93e871e288a8a3865585cf53072c53d047
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Nov 15 20:46:27 EST 2022

tee: remove unused variable (thanks mkf9)

--- a/sys/src/cmd/tee.c
+++ b/sys/src/cmd/tee.c
@@ -9,7 +9,6 @@
 	FDSTART = 3,
 };
 
-int	uflag;
 int	aflag;
 
 char in[8192];
@@ -32,7 +31,6 @@
 		break;
 
 	case 'u':
-		uflag++;
 		/* uflag is ignored and undocumented; it's a relic from Unix */
 		break;