mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
ab740b9c92
commit
5fec05f472
2 changed files with 8 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue