[network-manager-applet] wifi: add a comment to make coverity happy
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] wifi: add a comment to make coverity happy
- Date: Tue, 8 Mar 2016 12:41:37 +0000 (UTC)
commit db116675e7d39b888f133a39233871c85397b2b7
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue Mar 8 11:33:32 2016 +0100
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.
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 44dd4d3..98acc84 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]