forked from enlightenment/enlightenment
e comp - set rects to null to silence compiler warning
even though n is 0 and we don't use rects, compiler doesn't know, so to avoid noise - set to null so we can focus on warnings of real errors.
This commit is contained in:
parent
530c8613c8
commit
cfdd8a47ef
|
@ -2780,7 +2780,7 @@ static Eina_Bool
|
||||||
_e_comp_x_damage(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Damage *ev)
|
_e_comp_x_damage(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Damage *ev)
|
||||||
{
|
{
|
||||||
E_Client *ec;
|
E_Client *ec;
|
||||||
Ecore_X_Rectangle *rects;
|
Ecore_X_Rectangle *rects = NULL;
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
|
||||||
ec = _e_comp_x_client_find_by_damage(ev->damage);
|
ec = _e_comp_x_client_find_by_damage(ev->damage);
|
||||||
|
|
Loading…
Reference in New Issue