mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
[INFER] Fix uninitialized variable.
This commit is contained in:
parent
e876010a0f
commit
0e2c2c3245
@ -5577,7 +5577,7 @@ JS_GetTypeInferenceMemoryStats(JSContext *cx, JSCompartment *compartment,
|
||||
JS_FRIEND_API(void)
|
||||
JS_GetTypeInferenceObjectStats(void *object_, TypeInferenceMemoryStats *stats)
|
||||
{
|
||||
TypeObject *object = (TypeObject *) object;
|
||||
TypeObject *object = (TypeObject *) object_;
|
||||
stats->objectMain += sizeof(TypeObject);
|
||||
|
||||
if (object->singleton) {
|
||||
|
Loading…
Reference in New Issue
Block a user