Преглед на файлове

Initialize node_found in nodelist_to_interface fun

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Jan Friesse преди 13 години
родител
ревизия
92b900da67
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      exec/totemconfig.c

+ 1 - 1
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 ;