fix fallthrough warnings and tag as fallthrough

this code was intending to do this.. so tag as such
This commit is contained in:
Carsten Haitzler 2017-08-05 12:37:39 +09:00
parent 6bd2d74cdc
commit 4fe7827af2
1 changed files with 4 additions and 0 deletions

View File

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