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]
This commit is contained in:
Stefan Schmidt 2015-06-08 16:43:24 +02:00
parent b1709917c5
commit ef81feff16
1 changed files with 1 additions and 1 deletions

View File

@ -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;