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
This commit is contained in:
Christopher Michael 2021-10-05 10:27:45 -04:00
parent c0826212ef
commit 57a5655f88
1 changed files with 1 additions and 0 deletions

View File

@ -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;