From 711febc82d45cb9fdced4a1f511e4bb469497b32 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 3 Jul 2003 11:39:33 -0400 Subject: [PATCH] ENH: null terminate at the end of the list --- Source/cmCreateTestSourceList.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index cef2d46d9..59de36938 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -186,7 +186,9 @@ bool cmCreateTestSourceList::InitialPass(std::vector const& args) " },\n"; numTests++; } - + // end with an empty struct + fout << " {0,0}\n"; + fout << "};\n" "\n"