mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
([ConstantIndexedCollection -prevObjectWithEnumState:]): Use
assignment, not equality test for setting enumState to -1. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
23ad958160
commit
83c247f865
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@
|
|||
if ([self isEmpty] || ((*(int*)enumState) == 0)
|
||||
|| ((*(int*)enumState) == -1))
|
||||
{
|
||||
(*(int*)enumState) == -1;
|
||||
(*(int*)enumState) = -1;
|
||||
return NO_OBJECT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue