summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-06-30 10:56:01 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-06-30 10:56:01 -0400
commit59a09e04aa88e4f9e6fd857c3159dfac99336933 (patch)
tree2f1f391365ed07a89c2e5c1cf6dce6c03cec5914 /src
parent0f965446a823f9d5c5e02424d04eecc35da547e9 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_outbuf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_outbuf.c b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
index c1ce525..6dafa85 100644
--- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c
+++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c
@@ -559,7 +559,6 @@ _evas_outbuf_update_region_push(Outbuf *ob, RGBA_Image *update, int x, int y, in
559 if (!(src = update->image.data)) return; 559 if (!(src = update->image.data)) return;
560 560
561 bpp = depth / 8; 561 bpp = depth / 8;
562 if (bpp <= 0) return;
563 562
564 /* check for valid desination data */ 563 /* check for valid desination data */
565 if (!(dst = ob->surface->funcs.data_get(ob->surface, &ww, &hh))) 564 if (!(dst = ob->surface->funcs.data_get(ob->surface, &ww, &hh)))