Mark a couple fallthroughs as such
This commit is contained in:
parent
29ecbc3e1a
commit
426d7e4d8d
|
@ -1451,7 +1451,7 @@ static gboolean _on_watch_can_read(GIOChannel * source, GIOCondition condition,
|
|||
case G_IO_STATUS_ERROR:
|
||||
_wpa_error(wpa, error->message, 1);
|
||||
g_error_free(error);
|
||||
/* fallback */
|
||||
/* fallthrough */
|
||||
case G_IO_STATUS_EOF:
|
||||
default: /* should not happen */
|
||||
_wpa_reset(wpa);
|
||||
|
@ -2105,6 +2105,7 @@ static gboolean _on_watch_can_write(GIOChannel * source, GIOCondition condition,
|
|||
break;
|
||||
case G_IO_STATUS_ERROR:
|
||||
_wpa_error(wpa, error->message, 1);
|
||||
/* fallthrough */
|
||||
case G_IO_STATUS_EOF:
|
||||
default: /* should not happen */
|
||||
_wpa_reset(wpa);
|
||||
|
|
Loading…
Reference in New Issue
Block a user