diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2021-02-24 08:30:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2021-02-24 08:30:41 +0000 |
commit | d180a9d2152fdd28ea68f0fbe0ef52e9c7ceac5a (patch) | |
tree | a8d3e0a9a5a6ec395a7ef6ff10d67e5c53ce7693 | |
parent | da1841ff3ac245489afa6376179d701bb8563e4f (diff) | |
parent | 711bd3f8771ca11f376de0753aa9e71dd60c0b28 (diff) | |
download | connman-d180a9d2152fdd28ea68f0fbe0ef52e9c7ceac5a.tar.gz connman-d180a9d2152fdd28ea68f0fbe0ef52e9c7ceac5a.tar.bz2 connman-d180a9d2152fdd28ea68f0fbe0ef52e9c7ceac5a.zip |
Merge "Fix svace 'UNREACHABLE_CODE.NO_PATH' warnings" into tizen
-rwxr-xr-x | plugins/wifi.c | 3 | ||||
-rw-r--r-- | src/technology.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index f80cbd17..2c6d50d0 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -2408,7 +2408,7 @@ static void setup_autoscan(struct wifi_data *wifi) return; } -#endif +#else /* * On the contrary, if BackgroundScanning is disabled, update autoscan @@ -2432,6 +2432,7 @@ static void setup_autoscan(struct wifi_data *wifi) wifi->autoscan = parse_autoscan_params(AUTOSCAN_SINGLE); break; } +#endif } static void finalize_interface_creation(struct wifi_data *wifi) diff --git a/src/technology.c b/src/technology.c index 39b0cfaa..440d7ebb 100644 --- a/src/technology.c +++ b/src/technology.c @@ -1406,9 +1406,10 @@ void __connman_technology_scan_stopped(struct connman_device *device, reply_scan_pending_device(technology, ifname, count); return; -#endif +#else if (count == 0) reply_scan_pending(technology, 0); +#endif } void __connman_technology_notify_regdom_by_device(struct connman_device *device, |