Przeglądaj źródła

EVS library makes compiler warning on some compilers. Found and fixed by
Sakai Miyotaka.

(Logical change 1.65)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@240 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 21 lat temu
rodzic
commit
f8f275973d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/evs.c

+ 1 - 1
lib/evs.c

@@ -184,7 +184,7 @@ evs_error_t evs_dispatch (
 	struct message_overlay *dispatch_data;
 	struct message_overlay *dispatch_data;
 	int empty;
 	int empty;
 	struct res_header **queue_msg;
 	struct res_header **queue_msg;
-	struct res_header *msg;
+	struct res_header *msg = NULL;
 	int ignore_dispatch = 0;
 	int ignore_dispatch = 0;
 
 
 	error = saHandleInstanceGet (&evs_handle_t_db, *handle, (void *)&evs_inst);
 	error = saHandleInstanceGet (&evs_handle_t_db, *handle, (void *)&evs_inst);