[INFER] Fix uninitialized variable.

This commit is contained in:
Brian Hackett 2011-08-02 17:58:48 -07:00
parent e876010a0f
commit 0e2c2c3245

View File

@ -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) {