summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGowtham Anandha Babu <gowtham.ab@samsung.com>2014-12-09 17:52:31 +0530
committerGowtham Anandha Babu <gowtham.ab@samsung.com>2014-12-09 17:52:31 +0530
commit768f05234c91713dc75a70c75006d05fc5183daf (patch)
tree44b1a1825486e7ae1d7f71eb395fd9c749fe7b74
parent5e46ddf6442eb3a5f514a5fb6782e38179e63549 (diff)
downloadbluetooth-tizen_3.0_ivi.tar.gz
bluetooth-tizen_3.0_ivi.tar.bz2
bluetooth-tizen_3.0_ivi.zip
Fix variable which is reassigned a value before the old one has been used. So, no use of initializing it. Change-Id: I6bcaa66ee035c294c0e9236b8b1e3ed39616419f
-rw-r--r--src/bluetooth-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth-common.c b/src/bluetooth-common.c
index 6474b76..a528ae6 100644
--- a/src/bluetooth-common.c
+++ b/src/bluetooth-common.c
@@ -479,7 +479,7 @@ static void __bt_event_proxy(int event, bluetooth_event_param_t *param, void *us
telephony_event_callid_t *call_data = NULL;
char *device_addr = NULL;
int error_code = BT_ERROR_NONE;
- int event_index = -1;
+ int event_index;
bluetooth_network_device_info_t *dev_info = NULL;
bt_hdp_connected_t *hdp_conn_info = NULL;
bt_hdp_disconnected_t *hdp_disconn_info = NULL;