Merge "Coverity fix: check return type" into tizen