mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
02767906b5
commit
8782cf13e8
6 changed files with 20 additions and 10 deletions
|
@ -972,7 +972,8 @@ const NSHashTableCallBacks NSPointerToStructHashCallBacks =
|
||||||
|
|
||||||
- (id) initWithCoder: (NSCoder*)aCoder
|
- (id) initWithCoder: (NSCoder*)aCoder
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions
|
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions
|
||||||
|
|
|
@ -1232,7 +1232,8 @@ const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks =
|
||||||
|
|
||||||
- (id) initWithCoder: (NSCoder*)aCoder
|
- (id) initWithCoder: (NSCoder*)aCoder
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithKeyPointerFunctions: (NSPointerFunctions*)keyFunctions
|
- (id) initWithKeyPointerFunctions: (NSPointerFunctions*)keyFunctions
|
||||||
|
|
|
@ -94,7 +94,8 @@ static Class concreteClass = 0;
|
||||||
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions
|
- (id) initWithPointerFunctions: (NSPointerFunctions*)functions
|
||||||
capacity: (NSUInteger)initialCapacity
|
capacity: (NSUInteger)initialCapacity
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) addObject: (id)object
|
- (void) addObject: (id)object
|
||||||
|
@ -133,7 +134,8 @@ static Class concreteClass = 0;
|
||||||
|
|
||||||
- (id) copyWithZone: (NSZone*)aZone
|
- (id) copyWithZone: (NSZone*)aZone
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSUInteger) count
|
- (NSUInteger) count
|
||||||
|
@ -160,7 +162,8 @@ static Class concreteClass = 0;
|
||||||
|
|
||||||
- (id) initWithCoder: (NSCoder*)aCoder
|
- (id) initWithCoder: (NSCoder*)aCoder
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) intersectHashTable: (NSHashTable*)other
|
- (void) intersectHashTable: (NSHashTable*)other
|
||||||
|
|
|
@ -123,12 +123,14 @@ static Class concreteClass = 0;
|
||||||
valuePointerFunctions: (NSPointerFunctions*)valueFunctions
|
valuePointerFunctions: (NSPointerFunctions*)valueFunctions
|
||||||
capacity: (NSUInteger)initialCapacity
|
capacity: (NSUInteger)initialCapacity
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) copyWithZone: (NSZone*)aZone
|
- (id) copyWithZone: (NSZone*)aZone
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSUInteger) count
|
- (NSUInteger) count
|
||||||
|
@ -172,7 +174,8 @@ static Class concreteClass = 0;
|
||||||
|
|
||||||
- (id) initWithCoder: (NSCoder*)aCoder
|
- (id) initWithCoder: (NSCoder*)aCoder
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) isEqual: (id)other
|
- (BOOL) isEqual: (id)other
|
||||||
|
|
|
@ -62,7 +62,8 @@ static Class concreteClass = Nil;
|
||||||
|
|
||||||
- (id) initWithOptions: (NSPointerFunctionsOptions)options
|
- (id) initWithOptions: (NSPointerFunctionsOptions)options
|
||||||
{
|
{
|
||||||
return [self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void* (*)(const void *item,
|
- (void* (*)(const void *item,
|
||||||
|
|
|
@ -194,7 +194,8 @@
|
||||||
|
|
||||||
- (id) copyWithZone: (NSZone*)zone
|
- (id) copyWithZone: (NSZone*)zone
|
||||||
{
|
{
|
||||||
return [self notImplemented: _cmd];
|
[self notImplemented: _cmd];
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue