Removes useless empty variable def