diff options
author | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2014-12-09 17:52:31 +0530 |
---|---|---|
committer | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2014-12-09 17:52:31 +0530 |
commit | 768f05234c91713dc75a70c75006d05fc5183daf (patch) | |
tree | 44b1a1825486e7ae1d7f71eb395fd9c749fe7b74 | |
parent | 5e46ddf6442eb3a5f514a5fb6782e38179e63549 (diff) | |
download | bluetooth-tizen_3.0_ivi.tar.gz bluetooth-tizen_3.0_ivi.tar.bz2 bluetooth-tizen_3.0_ivi.zip |
src/bluetooth-common: Fix variable reassigning issuetizen_3.0_ivi_releasesubmit/tizen/20141210.055510accepted/tizen/wearable/20141210.195821accepted/tizen/tv/20141210.193336accepted/tizen/mobile/20141216.074805accepted/tizen/ivi/20141218.014734accepted/tizen/common/20141210.081623tizen_3.0_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_common
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.c | 2 |
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; |