Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ignore if enum is already defined.

  • Loading branch information...
commit b6aa5932f781755493983dbf2c7e404fde701958 1 parent 8aafacd
@steipete steipete authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Model/GBStore.m
View
2  Model/GBStore.m
@@ -117,7 +117,7 @@ -(void)registerTypedefEnum:(GBTypedefEnumData *)typedefEnum
if ([_typedefEnums containsObject:typedefEnum]) return;
GBProtocolData *existingTypedef = [_typedefEnumsByName objectForKey:typedefEnum.nameOfEnum];
if (existingTypedef) {
- [NSException raise:@"Typedef with name %@ is already registered!", typedefEnum.nameOfEnum];
+ // Ignore typedef in already refined elsewhere.
return;
}
[_typedefEnums addObject:typedefEnum];
Please sign in to comment.
Something went wrong with that request. Please try again.