From 6c0046dddd3dc4fe6949689f90f1c75634bbdb1e Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 10 Mar 2016 20:32:55 +0900 Subject: [PATCH] Fix uninitialized warning Change-Id: I467d7b70210052c86da0f9d12c38753a25ce18e5 --- res/simple_debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/simple_debug.cpp b/res/simple_debug.cpp index 2de8f76..9831502 100644 --- a/res/simple_debug.cpp +++ b/res/simple_debug.cpp @@ -80,7 +80,7 @@ SclLog::log(enum LOG_LEVEL level, char* fmt, ...) { * log current time */ time_t now; - struct tm *timenow; + struct tm *timenow = NULL; time(&now); localtime_r(&now, timenow); -- 2.7.4