projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b170991
)
emile: Init ptrag as it might get used uninitialized if not
author
Stefan Schmidt
<stefan@osg.samsung.com>
Mon, 8 Jun 2015 14:43:24 +0000
(16:43 +0200)
committer
Stefan Schmidt
<stefan@osg.samsung.com>
Mon, 8 Jun 2015 15:09:38 +0000
(17:09 +0200)
lib/emile/emile_image.c:2099:49: warning: 'ptrag' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/lib/emile/emile_image.c
patch
|
blob
|
history
diff --git
a/src/lib/emile/emile_image.c
b/src/lib/emile/emile_image.c
index
dc1bed2
..
aed1ae8
100644
(file)
--- a/
src/lib/emile/emile_image.c
+++ b/
src/lib/emile/emile_image.c
@@
-1594,7
+1594,7
@@
_emile_jpeg_data(Emile_Image *image,
const unsigned char *m = NULL;
uint8_t *ptr, *line[16], *data;
uint32_t *ptr2 = NULL, *ptr_rotate = NULL;
- uint16_t *ptrag, *ptrag_rotate = NULL;
+ uint16_t *ptrag
= NULL
, *ptrag_rotate = NULL;
uint8_t *ptrg = NULL, *ptrg_rotate = NULL;
unsigned int x, y, l, i, scans;
int region = 0;