mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 02:45:25 +00:00
Stage 1 of clang compiler warning patches.
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
||||
return nil;
|
||||
return (Class *) nil;
|
||||
}
|
||||
|
||||
- (void) _setRecord: (NSDictionary *) objectRecord
|
||||
@@ -254,6 +254,9 @@
|
||||
- (NSException *) moveToFolder: (SOGoGCSFolder *) newFolder
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
||||
// TODO: Add exception handling code and return it
|
||||
return (NSException *) nil;
|
||||
}
|
||||
|
||||
- (NSException *) delete
|
||||
@@ -345,7 +348,7 @@
|
||||
|
||||
/* attempt a save */
|
||||
|
||||
error = [self saveComponent: [[self parsingClass] parseSingleFromSource: [rq contentAsString]]
|
||||
error = [self saveComponent: [(id)[self parsingClass] parseSingleFromSource: [rq contentAsString]]
|
||||
baseVersion: baseVersion];
|
||||
if (error)
|
||||
response = (WOResponse *) error;
|
||||
@@ -410,7 +413,7 @@
|
||||
else
|
||||
length = 0;
|
||||
|
||||
return [NSString stringWithFormat: @"%u", length];
|
||||
return [NSString stringWithFormat: @"%u", (unsigned int)length];
|
||||
}
|
||||
|
||||
- (NSException *) davMoveToTargetObject: (id) _target
|
||||
|
||||
Reference in New Issue
Block a user