]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - event.c
iw: enable -Wextra and fix warnings caused by it
[thirdparty/iw.git] / event.c
diff --git a/event.c b/event.c
index 3842c5c0000ba3c8229d7b1c5998afa2e569d037..aa6a34804eaa1bcc8bf20a23ff0a82dde2bb87eb 100644 (file)
--- a/event.c
+++ b/event.c
@@ -350,6 +350,7 @@ static int print_event(struct nl_msg *msg, void *arg)
                break;
        case NL80211_CMD_NEW_SCAN_RESULTS:
                printf("scan finished:");
+               /* fall through */
        case NL80211_CMD_SCAN_ABORTED:
                if (gnlh->cmd == NL80211_CMD_SCAN_ABORTED)
                        printf("scan aborted:");