mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Minor cleanup to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24311 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f3ba38c1da
commit
8abd7f5743
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSBundle.m: (initialize) tiny cleanup to avoid compiler
|
||||
warnings if compiled for NeXT runtime.
|
||||
|
||||
2006-12-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSString.m: Fix keyed archiving error.
|
||||
|
|
|
@ -719,8 +719,6 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
if (self == [NSBundle class])
|
||||
{
|
||||
NSDictionary *env;
|
||||
void *state = NULL;
|
||||
Class class;
|
||||
|
||||
_emptyTable = RETAIN([NSDictionary dictionary]);
|
||||
|
||||
|
@ -777,6 +775,9 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
}
|
||||
#else
|
||||
{
|
||||
void *state = NULL;
|
||||
Class class;
|
||||
|
||||
while ((class = objc_next_class(&state)))
|
||||
{
|
||||
unsigned int len = strlen (class->name);
|
||||
|
|
Loading…
Reference in a new issue