From 63ad431349a0888107ee96e16203272ad0c78e73 Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 6 Jan 2014 16:41:42 +0800 Subject: [PATCH] don't assign last element with (null, null) --- samples/Cpp/TestCpp/Classes/Box2DTestBed/TestEntries.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/Cpp/TestCpp/Classes/Box2DTestBed/TestEntries.cpp b/samples/Cpp/TestCpp/Classes/Box2DTestBed/TestEntries.cpp index 5fb831212a..2d6f22f65c 100644 --- a/samples/Cpp/TestCpp/Classes/Box2DTestBed/TestEntries.cpp +++ b/samples/Cpp/TestCpp/Classes/Box2DTestBed/TestEntries.cpp @@ -120,7 +120,6 @@ TestEntry g_testEntries[] = {"Slider Crank", SliderCrank::Create}, {"Varying Friction", VaryingFriction::Create}, {"Add Pair Stress Test", AddPair::Create}, - {NULL, NULL} }; int g_totalEntries = sizeof(g_testEntries) / sizeof(g_testEntries[0]);