evas gl gnenric engine - dont check w and h ptrs - will never be null

analyser unhappiness.

found by PVS studio
This commit is contained in:
Carsten Haitzler 2017-07-29 12:06:20 +09:00
parent 66f71d2ebc
commit a0ed0483fc
1 changed files with 4 additions and 4 deletions

View File

@ -582,13 +582,13 @@ eng_image_size_get(void *engine EINA_UNUSED, void *image, int *w, int *h)
im->orient == EVAS_IMAGE_FLIP_TRANSPOSE ||
im->orient == EVAS_IMAGE_FLIP_TRANSVERSE)
{
if (w) *w = im->h;
if (h) *h = im->w;
*w = im->h;
*h = im->w;
}
else
{
if (w) *w = im->w;
if (h) *h = im->h;
*w = im->w;
*h = im->h;
}
}