summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Purwar <amit.purwar@samsung.com>2017-07-24 12:27:52 +0530
committerAmit Purwar <amit.purwar@samsung.com>2017-07-24 12:27:52 +0530
commit2152f6c1a30b3fc74fe06e15f5683ce63c6a0f53 (patch)
treec2c6f5aab04601218966a13c066e79ebacdf312b
parentba8d5d475a6a3eb0b12dce050194e6aa6e68f250 (diff)
downloadbluetooth-2152f6c1a30b3fc74fe06e15f5683ce63c6a0f53.tar.gz
bluetooth-2152f6c1a30b3fc74fe06e15f5683ce63c6a0f53.tar.bz2
bluetooth-2152f6c1a30b3fc74fe06e15f5683ce63c6a0f53.zip
fixed duplicated assignment
Change-Id: I72da843f8a1a71e61e48a950006dcd37284fefd2 Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
-rw-r--r--src/bt-main-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bt-main-view.c b/src/bt-main-view.c
index 8e718f1..80aeea9 100644
--- a/src/bt-main-view.c
+++ b/src/bt-main-view.c
@@ -1612,11 +1612,9 @@ static void __bt_paired_item_sel_cb(void *data, Evas_Object *obj,
}
}
- if ((ad->waiting_service_response) && (dev->service_list == 0)) {
+ if ((ad->waiting_service_response) && (dev->service_list == 0))
ERR("No service");
- ad->paired_item = item;
- }
ad->paired_item = item;