Initialized previously uninitialized local vairable 44/41944/1
authorAnchit Narang <anchit.n@samsung.com>
Fri, 19 Jun 2015 08:34:33 +0000 (14:04 +0530)
committerAnchit Narang <anchit.n@samsung.com>
Fri, 19 Jun 2015 08:47:53 +0000 (14:17 +0530)
commit1aa9c0a8f9cd8975614d0a84904e75d2c92c5dcc
tree08414237cf0d3f7cc76cb410b183e51a4e240a8c
parent6906a6b39caf59065057407a65249511579d635b
Initialized previously uninitialized local vairable

variable ret was uninitialed in function _bt_core_handle_power_saving_mode_noti.
If ENABLE_TIZEN_2_4 is not defined it will still have garbage value.
Used without initializing in check if (ret < 0)

Change-Id: Idf5c04c91c3c9c83c470479cc93e827bedc49435
Signed-off-by: Anchit Narang <anchit.n@samsung.com>
bt-core/bt-core-noti-handler.c