mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Silence some warnings caused by returning the result of a method that doesn't return.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32077 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9e6401bbdf
commit
104c14bbf1
6 changed files with 20 additions and 10 deletions
|
@ -972,7 +972,8 @@ const NSHashTableCallBacks NSPointerToStructHashCallBacks =
|
|||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions
|
||||
|
|
|
@ -1232,7 +1232,8 @@ const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks =
|
|||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id) initWithKeyPointerFunctions: (NSPointerFunctions*)keyFunctions
|
||||
|
|
|
@ -94,7 +94,8 @@ static Class concreteClass = 0;
|
|||
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions
|
||||
capacity: (NSUInteger)initialCapacity
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) addObject: (id)object
|
||||
|
@ -133,7 +134,8 @@ static Class concreteClass = 0;
|
|||
|
||||
- (id) copyWithZone: (NSZone*)aZone
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSUInteger) count
|
||||
|
@ -160,7 +162,8 @@ static Class concreteClass = 0;
|
|||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) intersectHashTable: (NSHashTable*)other
|
||||
|
|
|
@ -123,12 +123,14 @@ static Class concreteClass = 0;
|
|||
valuePointerFunctions: (NSPointerFunctions*)valueFunctions
|
||||
capacity: (NSUInteger)initialCapacity
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id) copyWithZone: (NSZone*)aZone
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSUInteger) count
|
||||
|
@ -172,7 +174,8 @@ static Class concreteClass = 0;
|
|||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (BOOL) isEqual: (id)other
|
||||
|
|
|
@ -62,7 +62,8 @@ static Class concreteClass = Nil;
|
|||
|
||||
- (id) initWithOptions: (NSPointerFunctionsOptions)options
|
||||
{
|
||||
return [self subclassResponsibility: _cmd];
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void* (*)(const void *item,
|
||||
|
|
|
@ -194,7 +194,8 @@
|
|||
|
||||
- (id) copyWithZone: (NSZone*)zone
|
||||
{
|
||||
return [self notImplemented: _cmd];
|
||||
[self notImplemented: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
|
|
Loading…
Reference in a new issue