mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
If a repetition had no list, it would iterate from 0 to INT_MAX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@6776 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e90b7cf7b4
commit
f8cf3297c9
1 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ static char rcsId[] = "$Id$";
|
|||
GSWComponent* _component=nil;
|
||||
NSArray* _listValue=nil;
|
||||
int i=0;
|
||||
int _count=INT_MAX;
|
||||
int _count=0;
|
||||
#ifndef NDEBBUG
|
||||
int elementsNb=[(GSWElementIDString*)[context_ elementID]elementsNb];
|
||||
#endif
|
||||
|
@ -213,7 +213,7 @@ static char rcsId[] = "$Id$";
|
|||
GSWComponent* _component=nil;
|
||||
NSArray* _listValue=nil;
|
||||
int i=0;
|
||||
int _count=INT_MAX;
|
||||
int _count=0;
|
||||
#ifndef NDEBBUG
|
||||
int elementsNb=[(GSWElementIDString*)[context_ elementID]elementsNb];
|
||||
#endif
|
||||
|
@ -280,7 +280,7 @@ static char rcsId[] = "$Id$";
|
|||
GSWComponent* _component=nil;
|
||||
NSArray* _listValue=nil;
|
||||
int i=0;
|
||||
int _count=INT_MAX;
|
||||
int _count=0;
|
||||
#ifndef NDEBBUG
|
||||
int elementsNb=[(GSWElementIDString*)[context_ elementID]elementsNb];
|
||||
#endif
|
||||
|
@ -361,7 +361,7 @@ static char rcsId[] = "$Id$";
|
|||
#ifndef NDEBUG
|
||||
GSWElementIDString* debugElementID=[context_ elementID];
|
||||
#endif
|
||||
int _count=INT_MAX;
|
||||
int _count=0;
|
||||
NSArray* _listValue=nil;
|
||||
int i=0;
|
||||
GSWComponent* _component=[context_ component];
|
||||
|
|
Loading…
Reference in a new issue