[PATCH 2/7] trysplice: remove unused 'buf' variable

From: Roman I Khimov <khimov_at_altell.ru>
Date: Fri, 13 Mar 2015 17:24:21 +0300

Cppcheck warns us here: "Unused variable: buf" and rightfully so.
---
 src/sysdeps/trysplice.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/src/sysdeps/trysplice.c b/src/sysdeps/trysplice.c
index 6b566b8..a408f13 100644
--- a/src/sysdeps/trysplice.c
+++ b/src/sysdeps/trysplice.c
_at_@ -10,7 +10,6 @@
 
 int main (void)
 {
-  char buf[N] ;
   int p[2] ;
   int fd ;
   if (pipe(p) < 0) return 111 ;
-- 
2.1.4
Received on Fri Mar 13 2015 - 14:24:21 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC