Mark a couple fallthroughs as such

This commit is contained in:
Pierre Pronchery 2019-12-18 05:24:35 +01:00
parent 29ecbc3e1a
commit 426d7e4d8d

View File

@ -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);