Removing unused variable assignment