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:
parent
d267bdf9bd
commit
ce2a9644bd
1 changed files with 1 additions and 0 deletions
|
@ -748,6 +748,7 @@ static u8 p2ps_group_capability(void *ctx, u8 incoming, u8 role,
|
||||||
conncap = P2PS_SETUP_GROUP_OWNER;
|
conncap = P2PS_SETUP_GROUP_OWNER;
|
||||||
goto grp_owner;
|
goto grp_owner;
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return P2PS_SETUP_NONE;
|
return P2PS_SETUP_NONE;
|
||||||
|
|
Loading…
Reference in a new issue