getting rid of pesky warnings about unused variables in resourcemanager.cpp