summaryrefslogtreecommitdiff
path: root/src/lib/emile
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-06-08 16:43:24 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2015-06-08 17:09:38 +0200
commitef81feff16725e05ded0752b5bda09920c572e9a (patch)
treecb9ba44b13353c77541f6f3477541454025618f2 /src/lib/emile
parentb1709917c5f22c3304b9d23bb9e04fd7183be41f (diff)
emile: Init ptrag as it might get used uninitialized if not
lib/emile/emile_image.c:2099:49: warning: 'ptrag' may be used uninitialized in this function [-Wmaybe-uninitialized]
Diffstat (limited to 'src/lib/emile')
-rw-r--r--src/lib/emile/emile_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c
index dc1bed2d11..aed1ae8738 100644
--- a/src/lib/emile/emile_image.c
+++ b/src/lib/emile/emile_image.c
@@ -1594,7 +1594,7 @@ _emile_jpeg_data(Emile_Image *image,
1594 const unsigned char *m = NULL; 1594 const unsigned char *m = NULL;
1595 uint8_t *ptr, *line[16], *data; 1595 uint8_t *ptr, *line[16], *data;
1596 uint32_t *ptr2 = NULL, *ptr_rotate = NULL; 1596 uint32_t *ptr2 = NULL, *ptr_rotate = NULL;
1597 uint16_t *ptrag, *ptrag_rotate = NULL; 1597 uint16_t *ptrag = NULL, *ptrag_rotate = NULL;
1598 uint8_t *ptrg = NULL, *ptrg_rotate = NULL; 1598 uint8_t *ptrg = NULL, *ptrg_rotate = NULL;
1599 unsigned int x, y, l, i, scans; 1599 unsigned int x, y, l, i, scans;
1600 int region = 0; 1600 int region = 0;