mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 582424 - TM: JSRopeNodeIterator warning (r=apierce)
This commit is contained in:
parent
d81f0c30eb
commit
97974d7867
@ -542,7 +542,9 @@ class JSRopeNodeIterator {
|
||||
static const size_t DONE_RIGHT = 0x2;
|
||||
|
||||
public:
|
||||
JSRopeNodeIterator(JSString *str) {
|
||||
JSRopeNodeIterator(JSString *str)
|
||||
: mUsedFlags(0)
|
||||
{
|
||||
mStr = str;
|
||||
}
|
||||
|
||||
@ -558,7 +560,7 @@ class JSRopeNodeIterator {
|
||||
mStr = mStr->interiorNodeParent();
|
||||
while (mStr->ropeLeft()->isInteriorNode())
|
||||
mStr = mStr->ropeLeft();
|
||||
mUsedFlags = 0;
|
||||
JS_ASSERT(mUsedFlags == 0);
|
||||
return mStr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user