mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Minor cleanup for compiler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25517 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3308dcf842
commit
21735d34f4
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
* Source/NSData.m: Fix ([-classForCoder:]) to return base class of
|
||||
cluster (bug #21133)
|
||||
* Source/cifframe.m: avoid compiler warnings (bug #16996)
|
||||
|
||||
2007-09-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -465,6 +465,7 @@ cifframe_type(const char *typePtr, const char **advance)
|
|||
case _C_VOID: ftype = &ffi_type_void;
|
||||
break;
|
||||
default:
|
||||
ftype = &ffi_type_void;
|
||||
NSCAssert(0, @"Unknown type in sig");
|
||||
}
|
||||
|
||||
|
@ -700,7 +701,7 @@ cifframe_do_call (DOContext *ctxt,
|
|||
@"Will search for arbitrary signature.",
|
||||
object,
|
||||
GSNameFromClass(GSObjCIsClass(object)
|
||||
? object : GSObjCClass(object)),
|
||||
? object : (id)GSObjCClass(object)),
|
||||
GSNameFromSelector(selector));
|
||||
type = GSTypesFromSelector(selector);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue