[Filesystem][Alarm] Fix coverity/SVACE issues 10/178110/2
authorPiotr Kosko <p.kosko@samsung.com>
Tue, 8 May 2018 05:53:49 +0000 (07:53 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Tue, 8 May 2018 06:46:42 +0000 (08:46 +0200)
commit0dd10e4742685ad3b55090ac8b9505b5c6b2f3ce
treee262770633c139ec041b2ab8729b896b5e897846
parent0135eb377bd595a92a98704cf2de85c508e9bcb2
[Filesystem][Alarm] Fix coverity/SVACE issues

[Bug] Fixed Coverity issues: 119865, 119863.
  Fixed SVACE issue: 345864

  Issues were related to not reachable code (invalid returned value was checked)
  in Alarm module and not checking returned values in Filesystem module.
  SVACE issue 345864 is related to the same problem as Coverity 119863.

[Verification] Code compiles without errors.
  TCT passrate for Alarm and Filesystem - 100%.

Change-Id: I315d0aed94f8efef13d37a73b313ef455fb3b00e
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/alarm/alarm_manager.cc
src/filesystem/filesystem_manager.cc