Fix svace 'UNREACHABLE_CODE.NO_PATH' warnings
[platform/upstream/connman.git] / src / technology.c
index e9e4cd6..440d7eb 100644 (file)
@@ -1302,7 +1302,7 @@ static void reply_scan_pending_device(
        dbus_bool_t status = 0;
        connman_scan_type_e scan_type = CONNMAN_SCAN_TYPE_UNKNOWN;
 
-       DBG("technology %p ifname %d count %d", technology, ifname, count);
+       DBG("technology %p ifname %s count %d", technology, ifname, count);
 
        list = technology->scan_pending;
 
@@ -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,