[Bluetooth] Fix build break for disabled APP_CONTROL_SETTINGS_SUPPORT 91/238091/2
authorPiotr Kosko <p.kosko@samsung.com>
Wed, 8 Jul 2020 09:22:14 +0000 (11:22 +0200)
committerPawel Wasowski <p.wasowski2@samsung.com>
Wed, 8 Jul 2020 09:33:06 +0000 (09:33 +0000)
[Verification] Plugins for TV platform build with the change and
               APP_CONTROL_SETTINGS_SUPPORT flag.

Change-Id: I23b87954b877ae278970446a03bc94ffe16c9aed

src/bluetooth/bluetooth_adapter.cc

index 128defb8773cb7b26960f1467faac8d39446b128..7bd1145d85fa6560566ada704da8a7939a29d4c7 100644 (file)
@@ -808,7 +808,7 @@ void BluetoothAdapter::SetVisible(const picojson::value& data, picojson::object&
 
 #else
   this->user_request_list_[SET_VISIBLE] = true;
-  int ntv_ret = bt_adapter_set_visibility(new_mode, new_timeout);
+  ntv_ret = bt_adapter_set_visibility(new_mode, new_timeout);
 
   switch (ntv_ret) {
     case BT_ERROR_NONE: