kwo pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=1f96129e2cda61b245f033f9c881a6f7a90c809e

commit 1f96129e2cda61b245f033f9c881a6f7a90c809e
Author: Kim Woelders <[email protected]>
Date:   Sun Feb 12 09:07:30 2017 +0100

    Fix missing break.
    
    Found by gcc 7:
    
    grab.c: In function ‘__imlib_GrabXImageToRGBA’:
    grab.c:85:14: error: this statement may fall through 
[-Werror=implicit-fallthrough=]
                  for (y = 0; y < h; y++)
                  ^~~
    grab.c:97:11: note: here
               case 24:
               ^~~~
---
 src/lib/grab.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/grab.c b/src/lib/grab.c
index a08e61a..f3fdef8 100644
--- a/src/lib/grab.c
+++ b/src/lib/grab.c
@@ -94,6 +94,7 @@ __imlib_GrabXImageToRGBA(DATA32 * data, int ox, int oy, int 
ow, int oh,
                        tmp++;
                     }
                }
+             break;
           case 24:
           case 25:
           case 32:

-- 


Reply via email to