From a1ec25a5c6c04f85099cb0188650e9f22a1135b0 Mon Sep 17 00:00:00 2001 From: Gwanglim Lee Date: Thu, 31 Mar 2016 22:05:13 +0900 Subject: [PATCH] utils-log: fix an uninitialized value warning Change-Id: I8d860d561d7807e039e5b15c490f8c4cc0276fe1 --- src/lib/pepper/utils-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/pepper/utils-log.c b/src/lib/pepper/utils-log.c index 191d2fd..15e66e0 100644 --- a/src/lib/pepper/utils-log.c +++ b/src/lib/pepper/utils-log.c @@ -47,7 +47,7 @@ static int pepper_print_timestamp(void) { struct timeval tv; - struct tm *brokendown_time; + struct tm *brokendown_time = NULL; char string[128]; gettimeofday(&tv, NULL); -- 2.7.4