Explorar el Código

Silent a warning from coverity about icmap_track being used without assign

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake hace 14 años
padre
commit
2967ad3b9b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      exec/mainconfig.c

+ 1 - 1
exec/mainconfig.c

@@ -511,7 +511,7 @@ static void main_logging_notify(
 
 
 static void add_logsys_config_notification(void)
 static void add_logsys_config_notification(void)
 {
 {
-	icmap_track_t icmap_track;
+	icmap_track_t icmap_track = NULL;
 
 
 	icmap_track_add("logging.",
 	icmap_track_add("logging.",
 			ICMAP_TRACK_ADD | ICMAP_TRACK_DELETE | ICMAP_TRACK_MODIFY | ICMAP_TRACK_PREFIX,
 			ICMAP_TRACK_ADD | ICMAP_TRACK_DELETE | ICMAP_TRACK_MODIFY | ICMAP_TRACK_PREFIX,