[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [nbdkit PATCH 07/10] tcl: Avoid -Wshadow warnings



This one was harmless, but easy to avoid.

Signed-off-by: Eric Blake <eblake redhat com>
---
 plugins/tcl/tcl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/tcl/tcl.c b/plugins/tcl/tcl.c
index 042ac4a1..4b3c50a7 100644
--- a/plugins/tcl/tcl.c
+++ b/plugins/tcl/tcl.c
@@ -156,7 +156,6 @@ tcl_config (const char *key, const char *value)
     }
   }
   else if (proc_defined ("config")) {
-    int r;
     Tcl_Obj *cmd;

     cmd = Tcl_NewObj ();
-- 
2.21.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]