Eliminate unused variable assignment