Added check for selectors==0
From-SVN: r4271
This commit is contained in:
parent
65e1be69ba
commit
bb29a1a848
@ -118,8 +118,11 @@ __objc_exec_class (Module_t module)
|
||||
}
|
||||
|
||||
/* Replace referenced selectors from names to SEL's. */
|
||||
for (i = 0; selectors[i]; ++i)
|
||||
selectors[i] = sel_register_name ((const char *) selectors[i]);
|
||||
if (selectors)
|
||||
{
|
||||
for (i = 0; selectors[i]; ++i)
|
||||
selectors[i] = sel_register_name ((const char *) selectors[i]);
|
||||
}
|
||||
|
||||
/* Process category information from the module. */
|
||||
for (i = 0; i < symtab->cat_def_cnt; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user