Fixed #5627 (False positive assignBoolToPointer)