projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd07db2
)
bt-api/bt-adapter: Fix unused variable issues
76/34976/1
author
Gowtham Anandha Babu
<gowtham.ab@samsung.com>
Thu, 5 Feb 2015 07:22:42 +0000
(12:52 +0530)
committer
Gowtham Anandha Babu
<gowtham.ab@samsung.com>
Thu, 5 Feb 2015 07:22:42 +0000
(12:52 +0530)
Fixed the following warning:
[bt-api/bt-adapter.c:228]: (style) Variable 'timeout' is assigned a value that is never used.
Change-Id: Ifd3eeb6e164d55439db95c83ff7caff776a8c67a
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
bt-api/bt-adapter.c
patch
|
blob
|
history
diff --git
a/bt-api/bt-adapter.c
b/bt-api/bt-adapter.c
index
b4794c9
..
2def8c2
100644
(file)
--- a/
bt-api/bt-adapter.c
+++ b/
bt-api/bt-adapter.c
@@
-225,7
+225,6
@@
BT_EXPORT_API int bluetooth_get_discoverable_mode(bluetooth_discoverable_mode_t
discoverable_mode_ptr)
{
int result;
- int timeout = 0;
BT_CHECK_PARAMETER(discoverable_mode_ptr, return);