Initialize stat 65/74965/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Jun 2016 07:26:02 +0000 (16:26 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Jun 2016 07:26:02 +0000 (16:26 +0900)
Change-Id: Ia771840d933b0ee48d147c8f91d6753baa89973f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pm-queue.c

index b644805..1022332 100644 (file)
@@ -144,7 +144,7 @@ int _pm_queue_init(void)
        /*Find the num of backends currently supported and initialize
        that many queues. It is dynamically determined.*/
        struct dirent **namelist;
-       struct stat fileinfo;
+       struct stat fileinfo = {0};
        queue_info_map *ptr = NULL;
        int n = 0;
        int c = 0;