Fixes warning about unused variables