Clean up warning

This commit is contained in:
Blake Watters
2010-03-05 01:07:41 -05:00
parent 07c1dcee3a
commit 6917886947

View File

@@ -230,7 +230,7 @@
}
id propertyValue = elementValue;
if (kCFNull != elementValue) {
if (elementValue != (id)kCFNull) {
if ([class isEqual:[NSDate class]]) {
// TODO: This date parsing needs to be factored out...
NSDateFormatter* formatter = [[NSDateFormatter alloc] init];