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

Eric Blake eblake at redhat.com
Sun Sep 1 02:29:44 UTC 2019


This one was harmless, but easy to avoid.

Signed-off-by: Eric Blake <eblake at 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




More information about the Libguestfs mailing list