mesh: Avoid a false maybe-uninitialized compiler warning
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:37:55 +0000 (15:37 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:53:11 +0000 (15:53 +0200)
commit763041b2e8a1e06651b40f1c33f128e273b7ad6c
tree35f5a65deed41c076436410eceda79e7a1024aeb
parentee27f6737bb62bbe8bfcf6a53cd8c3f1ea8bac00
mesh: Avoid a false maybe-uninitialized compiler warning

An earlier check of the action_field value above the switch statement
already took care of all other possible cases, but that was apparently
too difficult for the compiler to notice. Bring back the default case to
avoid incorrect warnings about the event variable being maybe
uninitialized.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh_mpm.c