Fix scrutinizer issues.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>