X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/9d8dbcc95c9e3ea959f034d5ddb2edcc71fe1f59..a06b23045deb51ce036acf7bdcd3ab3c5514bfaf:/MTeSerialNumber.m 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; }