[PATCH 25/28] Initialize item in cmap_mcast_send

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 exec/cmap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec/cmap.c b/exec/cmap.c
index 5debf04..78915c7 100644
--- a/exec/cmap.c
+++ b/exec/cmap.c
@@ -809,7 +809,7 @@ static cs_error_t cmap_mcast_send(enum cmap_mcast_reason reason, int argc, char
 	size_t item_len;
 	size_t msg_len = 0;
 	struct req_exec_cmap_mcast req_exec_cmap_mcast;
-	struct req_exec_cmap_mcast_item *item;
+	struct req_exec_cmap_mcast_item *item = NULL;
 	struct iovec req_exec_cmap_iovec[MAX_REQ_EXEC_CMAP_MCAST_ITEMS + 1];
 
 	ENTER();
-- 
1.7.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux