avoid warning about assignment in if expression in gammainc