Resolved the code analysis warning.