From 671bd817bfb4e8ab96537d80310526f9bf9edf23 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 23 Mar 2015 22:04:15 +0100 Subject: [PATCH] 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 */ -- 2.7.4