Remove unused variables, so compiling with warnings -> errors succeeds.