devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=59a09e04aa88e4f9e6fd857c3159dfac99336933

commit 59a09e04aa88e4f9e6fd857c3159dfac99336933
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Thu Jun 30 10:56:01 2016 -0400

    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 <cpmich...@osg.samsung.com>
---
 src/modules/evas/engines/wayland_shm/evas_outbuf.c | 1 -
 1 file changed, 1 deletion(-)

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
    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)))

-- 


Reply via email to