mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-22 05:02:00 +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
4c749159ef
commit
b67377ea04
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