X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/9d8dbcc95c9e3ea959f034d5ddb2edcc71fe1f59..f41e707acd7a88f6e5ec68df27ebeca2498293b4:/MTeSerialNumber.m?ds=inline diff --git a/MTeSerialNumber.m b/MTeSerialNumber.m index 9d8da42..5d5de1c 100755 --- a/MTeSerialNumber.m +++ b/MTeSerialNumber.m @@ -19,7 +19,7 @@ extra:(NSString *)extra publisher:(NSString *)publisher { - if ( self = [super init] ) { + if ( (self = [super init]) ) { _serialNumber = serial; _nameBasedKey = name; _extraDataKey = nil; //extra data is currently unused. @@ -134,7 +134,7 @@ NSEnumerator *deadEnum = [_deadSerials objectEnumerator]; id aDeadSerial; - while ( aDeadSerial = [deadEnum nextObject] ) { + while ( (aDeadSerial = [deadEnum nextObject]) ) { if ( [aDeadSerial isEqualToString:_serialNumber] ) { dead = YES; }