raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4fe7827af2560021f4e41a24c2b6b881118c47e1

commit 4fe7827af2560021f4e41a24c2b6b881118c47e1
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Aug 5 12:37:39 2017 +0900

    fix fallthrough warnings and tag as fallthrough
    
    this code was intending to do this.. so tag as such
---
 src/bin/e_client.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 36030e893..f8a4b70c8 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -5394,6 +5394,8 @@ e_client_resize_limit(const E_Client *ec, int *w, int *h)
                        *h -= ah;
                        break;
                     }
+                  EINA_FALLTHROUGH;
+                  /* No break */
                 default:
                   val = (((*h * ec->icccm.min_aspect) - *w) * 
ec->icccm.step_w) / ec->icccm.step_w;
                   if (val > 0)
@@ -5428,6 +5430,8 @@ e_client_resize_limit(const E_Client *ec, int *w, int *h)
                        *h += ah;
                        break;
                     }
+                  EINA_FALLTHROUGH;
+                  /* No break */
                 default:
                   val = ((*w - (*h * ec->icccm.max_aspect)) * 
ec->icccm.step_w) / ec->icccm.step_w;
                   if (val > 0)

-- 


Reply via email to