evas: fix uninitialized value being used when the engine doesn't support Evas_3D.
authorCedric Bail <cedric.bail@free.fr>
Sat, 10 May 2014 09:44:57 +0000 (11:44 +0200)
committerCedric Bail <cedric.bail@free.fr>
Sat, 10 May 2014 09:44:57 +0000 (11:44 +0200)
CID 1211988

src/lib/evas/canvas/evas_object_image.c

index 405c25a..074db4d 100644 (file)
@@ -2517,7 +2517,8 @@ _3d_render(Evas *eo_e, Evas_Object *eo_obj EINA_UNUSED,
 
    if (pd_scene->surface)
      {
-        int  w, h;
+        int w = 0;
+        int h = 0;
 
         if (e->engine.func->drawable_size_get)
           {