cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=671bd817bfb4e8ab96537d80310526f9bf9edf23

commit 671bd817bfb4e8ab96537d80310526f9bf9edf23
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Mar 23 22:04:15 2015 +0100

    emile: meaningful initialization of some pointers.
---
 src/lib/emile/emile_image.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c
index 99a21b7..c75d2f5 100644
--- a/src/lib/emile/emile_image.c
+++ b/src/lib/emile/emile_image.c
@@ -1573,9 +1573,9 @@ _emile_jpeg_data(Emile_Image *image,
    struct _JPEG_error_mgr jerr;
    const unsigned char *m = NULL;
    uint8_t *ptr, *line[16], *data;
-   uint32_t *ptr2, *ptr_rotate = NULL;
+   uint32_t *ptr2 = NULL, *ptr_rotate = NULL;
    uint16_t *ptrag, *ptrag_rotate = NULL;
-   uint8_t *ptrg, *ptrg_rotate = NULL;
+   uint8_t *ptrg = NULL, *ptrg_rotate = NULL;
    unsigned int x, y, l, i, scans;
    int region = 0;
    /* rotation setting */

-- 


Reply via email to