Fixed #4956 (false positive: Variable 'myIsFirst' is assigned a value that is never used.)