It doesn't have to be completely unused to be avoided. In a case like:
if a then b + c else c + d
a and c are always evaluated, only b or d is evaluated not both. Removal isn't an option because b and d maybe used.
It doesn't have to be completely unused to be avoided. In a case like:
if a then b + c else c + d
a and c are always evaluated, only b or d is evaluated not both. Removal isn't an option because b and d maybe used.