Removes superfluous assignment