Fixed use of uninitialized variable.

main
theraven 16 years ago
parent d9ead92cb3
commit 09ed66f819

@ -150,7 +150,7 @@ int objc_getClassList(Class *buffer, int bufferLen)
return class_table->table_used; return class_table->table_used;
} }
int count = 0; int count = 0;
struct class_table_internal_table_enumerator *e; struct class_table_internal_table_enumerator *e = NULL;
Class next; Class next;
while (count < bufferLen && while (count < bufferLen &&
(next = class_table_internal_next(class_table, &e))) (next = class_table_internal_next(class_table, &e)))

Loading…
Cancel
Save