[ofa-general] [PATCH] opensm/osm_sa_mcmember_record.c: fix uninitilized proxy_join usage

Sasha Khapyorsky sashak at voltaire.com
Wed Sep 19 12:02:19 PDT 2007


This fixes uninitilized usage of proxy_join var.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/opensm/osm_sa_mcmember_record.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/opensm/osm_sa_mcmember_record.c b/opensm/opensm/osm_sa_mcmember_record.c
index a890525..4d4adfb 100644
--- a/opensm/opensm/osm_sa_mcmember_record.c
+++ b/opensm/opensm/osm_sa_mcmember_record.c
@@ -1773,7 +1773,7 @@ __osm_sa_mcm_by_comp_mask_cb(IN cl_map_item_t * const p_map_item,
 	uint8_t scope_state_mask = 0;
 	cl_map_item_t *p_item;
 	ib_gid_t port_gid;
-	boolean_t proxy_join;
+	boolean_t proxy_join = FALSE;
 
 	OSM_LOG_ENTER(p_rcv->p_log, __osm_sa_mcm_by_comp_mask_cb);
 
-- 
1.5.3.rc2.29.gc4640f




More information about the general mailing list