Squelch unsued function warning in release builds