From 58603dd21771844654b6d5318ba91c1f1cc81f9c Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 16 Jan 2012 13:43:53 -0700 Subject: [PATCH] Silent a warning from coverity about icmap_track being used without assign Signed-off-by: Steven Dake Reviewed-by: Angus Salkeld --- exec/mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/mon.c b/exec/mon.c index 2de55fef..fc5be86e 100644 --- a/exec/mon.c +++ b/exec/mon.c @@ -442,7 +442,7 @@ static void mon_instance_init (struct resource_instance* inst) { uint64_t tmp_value; char key_name[ICMAP_KEYNAME_MAXLEN]; - icmap_track_t icmap_track; + icmap_track_t icmap_track = NULL; snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "%s%s", inst->icmap_path, "current"); if (inst->max_type == ICMAP_VALUETYPE_INT32) {