mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 991234 -- Squelch warning r=h4writer
This commit is contained in:
parent
6d3d8d1203
commit
baff5b419b
@ -10140,8 +10140,8 @@ IonBuilder::lookupTypedObjectField(MDefinition *typedObj,
|
||||
if (fieldDescrs->empty())
|
||||
return true;
|
||||
|
||||
*fieldOffset = int32_t(offset);
|
||||
JS_ASSERT(*fieldOffset >= 0);
|
||||
JS_ASSERT(offset >= 0);
|
||||
*fieldOffset = offset;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -325,7 +325,7 @@ TypeDescrSet::fieldNamed(IonBuilder &builder,
|
||||
|
||||
// Initialize `*offset` and `*out` for the case where incompatible
|
||||
// or absent fields are found.
|
||||
*offset = SIZE_MAX;
|
||||
*offset = -1;
|
||||
*index = SIZE_MAX;
|
||||
*out = TypeDescrSet();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user