Variable 'ugd' is assigned a value that is never used.
Change-Id: Ie25943d8783bdee096c921c1e8696ece83872097
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
- bt_ug_data *ugd = NULL;
-
ret_if(user_data == NULL);
ret_if(user_data == NULL);
- ugd = (bt_ug_data *)user_data;
-
if (discovery_state == BT_ADAPTER_DEVICE_DISCOVERY_FOUND)
__bt_cb_new_device_found(discovery_info, user_data);
else if (discovery_state == BT_ADAPTER_DEVICE_DISCOVERY_FINISHED)
if (discovery_state == BT_ADAPTER_DEVICE_DISCOVERY_FOUND)
__bt_cb_new_device_found(discovery_info, user_data);
else if (discovery_state == BT_ADAPTER_DEVICE_DISCOVERY_FINISHED)