mirror of https://github.com/axmolengine/axmol.git
don't assign last element with (null, null)
This commit is contained in:
parent
94e0b03d47
commit
63ad431349
|
@ -120,7 +120,6 @@ TestEntry g_testEntries[] =
|
||||||
{"Slider Crank", SliderCrank::Create},
|
{"Slider Crank", SliderCrank::Create},
|
||||||
{"Varying Friction", VaryingFriction::Create},
|
{"Varying Friction", VaryingFriction::Create},
|
||||||
{"Add Pair Stress Test", AddPair::Create},
|
{"Add Pair Stress Test", AddPair::Create},
|
||||||
{NULL, NULL}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int g_totalEntries = sizeof(g_testEntries) / sizeof(g_testEntries[0]);
|
int g_totalEntries = sizeof(g_testEntries) / sizeof(g_testEntries[0]);
|
||||||
|
|
Loading…
Reference in New Issue