utils-log: fix an uninitialized value warning 40/64340/1
authorGwanglim Lee <gl77.lee@samsung.com>
Thu, 31 Mar 2016 13:05:13 +0000 (22:05 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 31 Mar 2016 13:05:13 +0000 (22:05 +0900)
Change-Id: I8d860d561d7807e039e5b15c490f8c4cc0276fe1

src/lib/pepper/utils-log.c

index 191d2fd625a239072eec611376f3e1003584117d..15e66e003b27d34ba5c828282a6892fda50e4df6 100644 (file)
@@ -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);