[Project][Coverity] Some static analysis problems were corrected. 26/207226/9
authorArkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Thu, 30 May 2019 13:31:03 +0000 (15:31 +0200)
committerArkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Mon, 22 Jul 2019 09:19:34 +0000 (09:19 +0000)
commit1b4d5c8e8e760140c3e5c93e59ff23bde99f9862
treea8c50db7c5a0b4e93366e452061c6f3f4c352835
parentf1090826ebf913c7eda05adc8d845712e8f8340d
[Project][Coverity] Some static analysis problems were corrected.

Those Coverity issues were fixed:
CHECKED_RETURN 835501 - Messageport
CHECKED_RETURN 835504 - Download
CHECKED_RETURN 835505 - Messaging Email
CHECKED_RETURN 835506 - Download
CHECKED_RETURN 1064913 - Common
CHECKED_RETURN 1064914 - Common
CHECKED_RETURN 1064915 - Alarm
CHECKED_RETURN 1074834 - Application
CHECKED_RETURN 1074835 - Application

In Alarm module there is fix of Exception message.
There is also correction of logs in Archive module to bring consistency.
Some files was changed only by cude_format script.

[Verification] Coverity was run, and fixed issues are not on a list anymore.
http://10.113.170.22:8810/download/16062/artifacts/analysis_report_I6ddb03_coverity-2017.07.html
TCT pass rate of changed modules is 100%.

Change-Id: I6ddb030c071166d688a902849c9f979cfbae62d6
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
17 files changed:
src/alarm/alarm_manager.cc
src/application/application_manager.cc
src/application/application_utils.cc
src/application/application_utils.h
src/application/requested_application_control.cc
src/archive/archive_callback_data.cc
src/archive/archive_file.cc
src/common/json-utils.cc
src/common/platform_enum.h
src/common/task-queue.cpp
src/common/task-queue.h
src/common/tools.cc
src/download/download_instance.cc
src/messageport/messageport_instance.cc
src/messaging/email_manager.cc
src/messaging/message_conversation.cc
src/messaging/message_folder.cc