Removes Assignment of unused variables