Merge pull request #201 from inverse-inc/warning-removal-again

Warning removal, next part.
This commit is contained in:
Francis Lachapelle
2016-03-09 15:59:11 -05:00
14 changed files with 43 additions and 23 deletions
+1 -1
View File
@@ -600,7 +600,7 @@ static NSDictionary *BSONTypes()
/* We may have the zone using the UTC offset
or abbreviation (deprecated) */
if (timezone && strlen(timezone) > 0 && (timezone[0] == '+' || timezone[0] == '-'))
if (strlen(timezone) > 0 && (timezone[0] == '+' || timezone[0] == '-'))
{
NSCalendarDate *tzDate;
+5 -5
View File
@@ -1043,8 +1043,8 @@
if (nameInContainer)
[_ms appendFormat:@" name=%@", nameInContainer];
if (container)
[_ms appendFormat:@" container=0x%08X/%@",
(unsigned int)container, [container valueForKey:@"nameInContainer"]];
[_ms appendFormat:@" container=%p/%@",
container, [container valueForKey:@"nameInContainer"]];
}
- (NSString *) description
@@ -1052,7 +1052,7 @@
NSMutableString *ms;
ms = [NSMutableString stringWithCapacity:64];
[ms appendFormat:@"<0x%08X[%@]:", (unsigned int) self, NSStringFromClass([self class])];
[ms appendFormat:@"<%p[%@]:", self, NSStringFromClass([self class])];
[self appendAttributesToDescription:ms];
[ms appendString:@">"];
@@ -1061,8 +1061,8 @@
- (NSString *) loggingPrefix
{
return [NSString stringWithFormat:@"<0x%08X[%@]:%@>",
(unsigned int) self, NSStringFromClass([self class]),
return [NSString stringWithFormat:@"<%p[%@]:%@>",
self, NSStringFromClass([self class]),
[self nameInContainer]];
}