Bugfix: Handle unused var warning for ignored assert(x) when building for Production.