devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=57a5655f889a293adb11db09a4f35378aa29a9bb
commit 57a5655f889a293adb11db09a4f35378aa29a9bb Author: Christopher Michael <[email protected]> Date: Tue Oct 5 10:27:45 2021 -0400 exactness: Fix compiler warning of uninitialized variable Compiler is warning us here that ex_img has not been initialized after being malloc'd, so let's initialize it --- src/bin/exactness/player.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/exactness/player.c b/src/bin/exactness/player.c index 66506ba729..419a236018 100644 --- a/src/bin/exactness/player.c +++ b/src/bin/exactness/player.c @@ -209,6 +209,7 @@ _shot_do(Evas *e) if (ex_img) { + memset(ex_img, 0, sizeof(*ex_img)); _dest_unit->imgs = eina_list_append(_dest_unit->imgs, ex_img); _dest_unit->nb_shots++; e_data = ex_img; --
