connmgr: Remove unused variable.
authorEthan Jackson <ethan@nicira.com>
Wed, 27 Apr 2011 00:28:44 +0000 (17:28 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 27 Apr 2011 00:28:44 +0000 (17:28 -0700)
Fixes the following warning:

ofproto/connmgr.c:396:11: error: variable 'ss_exists' set but not
used [-Werror=unused-but-set-variable]

ofproto/connmgr.c

index 83b3159e86189b4644a4b8bcff2e28b9ad595ef1..a76dc8e8084b790874e38dba40780e0b8bba9a77 100644 (file)
@@ -393,7 +393,6 @@ connmgr_set_controllers(struct connmgr *mgr,
     struct shash new_controllers;
     struct ofconn *ofconn, *next_ofconn;
     struct ofservice *ofservice, *next_ofservice;
-    bool ss_exists;
     size_t i;
 
     /* Create newly configured controllers and services.
@@ -421,7 +420,6 @@ connmgr_set_controllers(struct connmgr *mgr,
 
     /* Delete controllers that are no longer configured.
      * Update configuration of all now-existing controllers. */
-    ss_exists = false;
     HMAP_FOR_EACH_SAFE (ofconn, next_ofconn, hmap_node, &mgr->controllers) {
         struct ofproto_controller *c;