Fix the svace issue (172668) 57/122957/1 accepted/tizen/unified/20170406.054743 submit/tizen/20170404.073146 submit/tizen/20170405.055649 tizen_4.0.m1_release
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Apr 2017 05:36:40 +0000 (14:36 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 4 Apr 2017 05:36:40 +0000 (14:36 +0900)
Change-Id: Ifa7a509e234fd218407190149b9b20484907d48a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-share/src/obex-event-handler.c

index dd6220d8c5ab8824e385a938bee18cc3f5aeecfa..0bc2270a50905a73aacb796a1344f5b69cd63c74 100644 (file)
@@ -570,7 +570,7 @@ void _bt_share_event_handler(int event, bluetooth_event_param_t *param,
        bt_noti_data_t *data = NULL;
        bt_device_snd_noti_info_t *snd_noti_info = NULL;
 
-       pthread_t thread_id;
+       pthread_t thread_id = 0;
        char bd_addr[BT_ADDRESS_STRING_SIZE] = {0, };
 
        if (bt_transfer_list)