Skip to content
Commit e67b12e6 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Chris Friedt
Browse files

lib: posix: tag the fallthrough case as __fallthrough



Use the __fallthrough directive on the switch fallthrough case and drop
the comment instead. This informs the compiler that the fallthrough is
intentional and silence any possible warning about it.

Drop the not reached case as I think that that part can actually be
reached since there are breaks in some of the cases.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent aa441662
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment