diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-03-08 11:33:32 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-03-08 12:09:23 +0100 |
commit | db116675e7d39b888f133a39233871c85397b2b7 (patch) | |
tree | 012882217cbeedfcd4e8e7d8d9151730d3539079 | |
parent | d99ac2db56ff76a24f488e8a2be73cf24a316219 (diff) | |
download | network-manager-applet-db116675e7d39b888f133a39233871c85397b2b7.tar.gz |
wifi: add a comment to make coverity happy
CID 59917 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value 1 is not terminated by a 'break'
statement.
-rw-r--r-- | src/connection-editor/page-wifi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c index 44dd4d3e..98acc845 100644 --- a/src/connection-editor/page-wifi.c +++ b/src/connection-editor/page-wifi.c @@ -247,6 +247,7 @@ mode_combo_changed_cb (GtkComboBox *combo, switch (gtk_combo_box_get_active (GTK_COMBO_BOX (combo))) { case 1: /* hotspot */ hotspot = TRUE; + /* fallthrough */ case 2: /* adhoc */ /* BSSID is random and is created by kernel for Ad-Hoc networks * http://lxr.linux.no/linux+v3.7.6/net/mac80211/ibss.c#L685 |