This was not a must, cause init variable was protecting on that.

What do you mean by needs to be re-visited?

On 05/10/2013 04:44 PM, Daniel Juyung Seo - Enlightenment Git wrote:
> seoz pushed a commit to branch master.
>
> commit e65b285223bfeafcfe75abb2bfafbe929b5dcbc9
> Author: Daniel Juyung Seo <seojuyu...@gmail.com>
> Date:   Fri May 10 22:38:28 2013 +0900
>
>      elm_gengrid.c: initialized local variable.
>      
>      This needs to be re-visited.
>      I am also looking at you, JackDanielz.
> ---
>   src/lib/elm_gengrid.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
> index 972971f..94a82e8 100644
> --- a/src/lib/elm_gengrid.c
> +++ b/src/lib/elm_gengrid.c
> @@ -3632,7 +3632,7 @@ _at_xy_item_get(Eo *obj EINA_UNUSED, void *_pd, va_list 
> *list)
>      Elm_Gengrid_Smart_Data *sd = _pd;
>      Elm_Gen_Item *it = ELM_GEN_ITEM_FROM_INLIST(sd->items);
>   
> -   Evas_Coord l, r, t, b; /* left, right, top, bottom */
> +   Evas_Coord l = 0, r = 0, t = 0, b = 0; /* left, right, top, bottom */
>      Eina_Bool init = EINA_TRUE;
>   
>      while ((it) && (it->generation < sd->generation))
>


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to