Silence a gcc warning on switch statement fallthrough

Add an explicit comment noting a previously undocumented fallthrough to
not trigger an implicit-fallthrough warning.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2018-05-15 20:29:00 +03:00 committed by Jouni Malinen
parent d267bdf9bd
commit ce2a9644bd

View file

@ -748,6 +748,7 @@ static u8 p2ps_group_capability(void *ctx, u8 incoming, u8 role,
conncap = P2PS_SETUP_GROUP_OWNER;
goto grp_owner;
}
/* fall through */
default:
return P2PS_SETUP_NONE;