Remove assigned but unused variables