Fixed #5245 (false positive: Uninitialized variable (assignment inside ternary operator))