From 3112cfa4084eb5d4bacbced1295c0e14c5f27743 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Tue, 26 Apr 2011 17:28:44 -0700 Subject: [PATCH] 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] --- ofproto/connmgr.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.30.2