ovs-appctl: Fix shadow variable that could cause segfault
[sliver-openvswitch.git] / utilities / ovs-appctl.c
index 060e8e2..1302bf2 100644 (file)
@@ -170,7 +170,6 @@ connect_to_target(const char *target)
 
     if (target[0] != '/') {
         char *pidfile_name;
-        char *socket_name;
         pid_t pid;
 
         pidfile_name = xasprintf("%s/%s.pid", ovs_rundir, target);