[PATCH 03/14] Silent a warning from coverity about icmap_track being used without assign

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

 



Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
---
 exec/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec/main.c b/exec/main.c
index cc0192f..1396650 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -618,7 +618,7 @@ static void totem_dynamic_notify(
 
 static void corosync_totem_dynamic_init (void)
 {
-	icmap_track_t icmap_track;
+	icmap_track_t icmap_track = NULL;
 
 	icmap_track_add("totem.interface.",
 		ICMAP_TRACK_ADD | ICMAP_TRACK_DELETE | ICMAP_TRACK_MODIFY | ICMAP_TRACK_PREFIX,
-- 
1.7.7.5

_______________________________________________
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