evas-wayland-shm: Remove logically dead code

Coverity reports that this bpp check is actuall dead code due to the
fact that bpp can never be < 0.

Fixes Coverity CID1357144

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
Chris Michael 2016-06-30 10:56:01 -04:00
parent 0f965446a8
commit 59a09e04aa
1 changed files with 0 additions and 1 deletions

View File

@ -559,7 +559,6 @@ _evas_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, in
if (!(src = update->image.data)) return;
bpp = depth / 8;
if (bpp <= 0) return;
/* check for valid desination data */
if (!(dst = ob->surface->funcs.data_get(ob->surface, &ww, &hh)))