Fixed #5046 (False positive: Boolean value assigned to pointer)