Fixed code analysis error.