default_backend: remove memset() as snprintf writes null to the given buffer 56/220656/1
authorSung-Jin Park <sj76.park@samsung.com>
Mon, 19 Aug 2019 10:29:53 +0000 (19:29 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Fri, 20 Dec 2019 07:12:56 +0000 (16:12 +0900)
Change-Id: I36d01e6e470a9633cfb1b4e386a190b880243de7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
backends/default_backend.c

index 8f1d0ee..70fb0f6 100644 (file)
@@ -271,7 +271,6 @@ _create_ani_collection(void)
                        eina_hash_add(_animations_hash, ani_info->id, ani_info);
                        printf("Success to load %s animation\n", files[i]->d_name);
                }
-               memset(file_path, 0, sizeof(file_path));
        }
 
        for (i = 0; i < count; i++) {