don't assign last element with (null, null)

This commit is contained in:
minggo 2014-01-06 16:41:42 +08:00
parent 94e0b03d47
commit 63ad431349
1 changed files with 0 additions and 1 deletions

View File

@ -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]);