diff --git a/SoObjects/SOGo/SOGoCache.m b/SoObjects/SOGo/SOGoCache.m index 0041eb0d4..1e2962601 100644 --- a/SoObjects/SOGo/SOGoCache.m +++ b/SoObjects/SOGo/SOGoCache.m @@ -104,8 +104,6 @@ static memcached_st *handle = NULL; if ((self = [super init])) { - memcached_return error; - cache = [[NSMutableDictionary alloc] init]; users = [[NSMutableDictionary alloc] init]; groups = [[NSMutableDictionary alloc] init]; @@ -140,7 +138,7 @@ static memcached_st *handle = NULL; servers = memcached_servers_parse([memcachedServerName UTF8String]); - error = memcached_server_push(handle, servers); + memcached_server_push(handle, servers); } } } diff --git a/SoObjects/SOGo/SOGoParentFolder.m b/SoObjects/SOGo/SOGoParentFolder.m index dafee4a8f..102816827 100644 --- a/SoObjects/SOGo/SOGoParentFolder.m +++ b/SoObjects/SOGo/SOGoParentFolder.m @@ -176,7 +176,7 @@ static SoSecurityManager *sm = nil; NSArray *attrs; NSDictionary *row; SOGoGCSFolder *folder; - NSString *key, *login; + NSString *key; NSException *error; SOGoUser *currentUser; @@ -187,7 +187,6 @@ static SoSecurityManager *sm = nil; if (!error) { currentUser = [context activeUser]; - login = [currentUser login]; attrs = [fc describeResults: NO]; while ((row = [fc fetchAttributes: attrs withZone: NULL])) @@ -470,7 +469,6 @@ static SoSecurityManager *sm = nil; - (BOOL) hasLocalSubFolderNamed: (NSString *) name { NSArray *subs; - NSException *error; NSString *currentDisplayName; int i, count; BOOL rc; @@ -478,7 +476,7 @@ static SoSecurityManager *sm = nil; rc = NO; #warning check error here - error = [self initSubFolders]; + [self initSubFolders]; subs = [subFolders allValues]; count = [subs count];