* DBModeler/ConsistencyChecker.m (attributeDetailsCheckForModel:)

Fix iterator variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30210 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2010-04-21 14:05:19 +00:00
parent 830ec7789e
commit a1f658789f
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-04-21 Sergey Golovin <golovin.sv@gmail.com>
* DBModeler/ConsistencyChecker.m (attributeDetailsCheckForModel:)
Fix iterator variable.
2010-04-21 David Ayers <ayers@fsfe.org>
* EOControl/EOObserver.h

View file

@ -155,7 +155,7 @@ static BOOL isInvalid(NSString *str)
id pkey;
BOOL ok = YES;
for (k = 0, e = [pkAttribs count]; ok == YES && k < e; i++)
for (k = 0, e = [pkAttribs count]; ok == YES && k < e; k++)
{
pkey = [pkAttribs objectAtIndex:k];
ok = [attribs containsObject:pkey];
@ -171,7 +171,7 @@ static BOOL isInvalid(NSString *str)
attribs = [rel destinationAttributes];
pkAttribs = [[rel destinationEntity] primaryKeyAttributes];
for (k = 0, e = [pkAttribs count]; ok == YES && k < e; i++)
for (k = 0, e = [pkAttribs count]; ok == YES && k < e; k++)
{
pkey = [pkAttribs objectAtIndex:k];
ok = [attribs containsObject:pkey];