emile: fix build warning of Emile_Image.
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 31 May 2016 21:37:53 +0000 (14:37 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 31 May 2016 21:59:26 +0000 (14:59 -0700)
Summary: initialized structure 'opts_region' for uninitialized build warning

Test Plan: N/A

Reviewers: raster, woohyun, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3993

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/emile/emile_image.c

index c7d12b8..5bad68c 100644 (file)
@@ -1614,7 +1614,7 @@ _emile_jpeg_data(Emile_Image *image,
    struct
    {
       unsigned int x, y, w, h;
-   } opts_region;
+   } opts_region = {0, 0, 0, 0};
    volatile int degree = 0;
    volatile Eina_Bool change_wh = EINA_FALSE;
    Eina_Bool line_done = EINA_FALSE;