Removal of unused variables (the project now compiles cleanly without
warnings)