diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-12-11 14:24:03 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-12-11 14:24:03 -0800 |
commit | 475d817e0230342443203f3b9b3dfe2a45a71779 (patch) | |
tree | 74803f62785a268e477fb82f96f98fc7e65f1686 /src/objc/imap/MCOIMAPIdentity.mm | |
parent | 129a55d2098fbb114fcb7e785b31ce270e9cfda0 (diff) |
Fixed analyzer issues and warnings (#993 and fixed #992)
Diffstat (limited to 'src/objc/imap/MCOIMAPIdentity.mm')
-rw-r--r-- | src/objc/imap/MCOIMAPIdentity.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPIdentity.mm b/src/objc/imap/MCOIMAPIdentity.mm index 0beb092b..08a73b2d 100644 --- a/src/objc/imap/MCOIMAPIdentity.mm +++ b/src/objc/imap/MCOIMAPIdentity.mm @@ -82,6 +82,11 @@ MCO_OBJC_SYNTHESIZE_STRING(setVersion, version) MCO_NATIVE_INSTANCE->setInfoForKey([key mco_mcString], [value mco_mcString]); } +- (void) removeAllInfos +{ + MCO_NATIVE_INSTANCE->removeAllInfos(); +} + + (MCOIMAPIdentity *) identityWithVendor:(NSString *)vendor name:(NSString *)name version:(NSString *)version |