Hi Leon,
We have that feature on the backlog - a batch process to delete unused variables. While we're waiting for it, here's the process that I use to delete unused variables - basically create a list of them, double check them, and then chain through deleting them, using Enter for the delete confirmation.
https://share.smartbuilder.com/public/support/quickly-delete-variables.mp4Hope that helps!