diff --git a/Source/Factory/Provider/TyphoonAssistedFactoryMethodInitializerClosure.m b/Source/Factory/Provider/TyphoonAssistedFactoryMethodInitializerClosure.m index 700a0888b..0580233a3 100644 --- a/Source/Factory/Provider/TyphoonAssistedFactoryMethodInitializerClosure.m +++ b/Source/Factory/Provider/TyphoonAssistedFactoryMethodInitializerClosure.m @@ -50,8 +50,8 @@ - (instancetype)initWithInitializer:(TyphoonAssistedFactoryMethodInitializer *)i #ifdef DEBUG NSUInteger count = _closedMethodSignature.numberOfArguments - 2; -#endif NSAssert([self validateInitializerParameterCount:count], @"parameter map for %s do not fill all %lu parameters", sel_getName(_initSelector), (unsigned long) count); +#endif } return self;