From 0240445af527fb7374f9dc6b8125dd42be044978 Mon Sep 17 00:00:00 2001 From: leafy7382 Date: Sun, 17 Feb 2013 01:10:43 +0800 Subject: [PATCH] NSPropertyListFormat does not need an assignment before use, remove rvalue. --- Source/InputMethodController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index 1684a59e..d172cb51 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -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];