Variable treated as constant