Prevent emitting warnings for release builds