[messaging][bluetooth] Fixing Coverity issues 25/225225/2
authorPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Tue, 18 Feb 2020 06:41:52 +0000 (07:41 +0100)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Tue, 18 Feb 2020 09:32:38 +0000 (10:32 +0100)
commit0e8977f2fe83367902838df1f346e3246a38a720
treea97940a7a40a961c469fc7f466d0e908f6293076
parent21d82decb40331adbeccb9b9f6a27cca40ae90a9
[messaging][bluetooth] Fixing Coverity issues

Fixing below issues:
- messaging: 1098090, 1102306
- bluetooth: 1094938

[Verification]
bluetooth auto TCT: 100%
messaging sms TCT: 100%
messaging mms TCT: 100%

Change-Id: I12dc9d5cdc3ddd1e6c5c71f8fb92942bd1c63d96
src/bluetooth/bluetooth_adapter.cc
src/messaging/messaging_database_manager.cc
src/messaging/short_message_manager.cc