Fix errors caught by static analysis tool

Minor fixes to satisfy the tool

Bug: 17987503

Change-Id: I615b9222e4dbe70e982c518616039ae394c9049d
Signed-off-by: kumaran <kumaran.s@intel.com>
2 files changed