From: Ethan Jackson Date: Wed, 27 Apr 2011 00:28:44 +0000 (-0700) Subject: connmgr: Remove unused variable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3112cfa4084eb5d4bacbced1295c0e14c5f27743;p=openvswitch connmgr: Remove unused variable. Fixes the following warning: ofproto/connmgr.c:396:11: error: variable 'ss_exists' set but not used [-Werror=unused-but-set-variable] --- diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index 83b3159e..a76dc8e8 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -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;