[ofa-general] [PATCH] opensm/osm_sa_mcmember_record.c: Remove uninitialized variable compile warning
Hal Rosenstock
hnrose at comcast.net
Tue Sep 22 04:42:52 PDT 2009
Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
diff --git a/opensm/opensm/osm_sa_mcmember_record.c b/opensm/opensm/osm_sa_mcmember_record.c
index 8f7816b..7e95622 100644
--- a/opensm/opensm/osm_sa_mcmember_record.c
+++ b/opensm/opensm/osm_sa_mcmember_record.c
@@ -978,7 +978,7 @@ Exit:
static void mcmr_rcv_join_mgrp(IN osm_sa_t * sa, IN osm_madw_t * p_madw)
{
osm_mgrp_t *p_mgrp = NULL;
- ib_api_status_t status;
+ ib_api_status_t status = IB_SUCCESS;
ib_sa_mad_t *p_sa_mad;
ib_member_rec_t *p_recvd_mcmember_rec;
ib_member_rec_t mcmember_rec;
More information about the general
mailing list