forked from enlightenment/enlightenment
fix fallthrough warnings and tag as fallthrough
this code was intending to do this.. so tag as such
This commit is contained in:
parent
6bd2d74cdc
commit
4fe7827af2
|
@ -5394,6 +5394,8 @@ e_client_resize_limit(const E_Client *ec, int *w, int *h)
|
||||||
*h -= ah;
|
*h -= ah;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
EINA_FALLTHROUGH;
|
||||||
|
/* No break */
|
||||||
default:
|
default:
|
||||||
val = (((*h * ec->icccm.min_aspect) - *w) * ec->icccm.step_w) / ec->icccm.step_w;
|
val = (((*h * ec->icccm.min_aspect) - *w) * ec->icccm.step_w) / ec->icccm.step_w;
|
||||||
if (val > 0)
|
if (val > 0)
|
||||||
|
@ -5428,6 +5430,8 @@ e_client_resize_limit(const E_Client *ec, int *w, int *h)
|
||||||
*h += ah;
|
*h += ah;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
EINA_FALLTHROUGH;
|
||||||
|
/* No break */
|
||||||
default:
|
default:
|
||||||
val = ((*w - (*h * ec->icccm.max_aspect)) * ec->icccm.step_w) / ec->icccm.step_w;
|
val = ((*w - (*h * ec->icccm.max_aspect)) * ec->icccm.step_w) / ec->icccm.step_w;
|
||||||
if (val > 0)
|
if (val > 0)
|
||||||
|
|
Loading…
Reference in New Issue