forked from enlightenment/efl
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:
parent
c0826212ef
commit
57a5655f88
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue