[PATCH 26/28] Initialize node_found in nodelist_to_interface fun

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

 



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

diff --git a/exec/totemconfig.c b/exec/totemconfig.c
index 6363317..a547aba 100644
--- a/exec/totemconfig.c
+++ b/exec/totemconfig.c
@@ -352,7 +352,7 @@ static void config_convert_nodelist_to_interface(struct totem_config *totem_conf
 	struct list_head *list;
 	struct totem_ip_if_address *if_addr;
 	struct totem_ip_address node_addr;
-	int node_found;
+	int node_found = 0;
 
 	if (totemip_getifaddrs(&addrs) == -1) {
 		return ;
-- 
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