NSPropertyListFormat does not need an assignment before use, remove rvalue.

This commit is contained in:
leafy7382 2013-02-17 01:10:43 +08:00
parent e9c57947aa
commit 0240445af5
1 changed files with 1 additions and 1 deletions

View File

@ -1497,7 +1497,7 @@ void LTLoadLanguageModel()
}
NSString *errorStr = nil;
NSPropertyListFormat format = 0;
NSPropertyListFormat format;
id plist = [NSPropertyListSerialization propertyListFromData:data mutabilityOption:NSPropertyListImmutable format:&format errorDescription:&errorStr];
if (plist && [plist isKindOfClass:[NSDictionary class]]) {
[gCandidateLearningDictionary setDictionary:(NSDictionary *)plist];