mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
fix missing line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29835 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a0cb694b69
commit
946ea79113
1 changed files with 1 additions and 0 deletions
|
@ -286,6 +286,7 @@ class_copyIvarList(Class cls, unsigned int *outCount)
|
|||
|
||||
list = malloc((count + 1) * sizeof(struct objc_ivar *));
|
||||
list[count] = NULL;
|
||||
count = 0;
|
||||
for (index = 0; index < ivarlist->ivar_count; index++)
|
||||
{
|
||||
list[count++] = &ivarlist->ivar_list[index];
|
||||
|
|
Loading…
Reference in a new issue