From 4b02f63b6a927f4ce9e1e3b2b2265b553d491c53 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Mon, 19 Aug 2019 19:29:53 +0900 Subject: [PATCH] default_backend: remove memset() as snprintf writes null to the given buffer Change-Id: I36d01e6e470a9633cfb1b4e386a190b880243de7 Signed-off-by: Sung-Jin Park --- backends/default_backend.c | 1 - 1 file changed, 1 deletion(-) diff --git a/backends/default_backend.c b/backends/default_backend.c index 8f1d0ee..70fb0f6 100644 --- a/backends/default_backend.c +++ b/backends/default_backend.c @@ -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++) { -- 2.7.4