Browse Source

ENH: null terminate at the end of the list

Bill Hoffman 22 years ago
parent
commit
711febc82d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmCreateTestSourceList.cxx

+ 3 - 1
Source/cmCreateTestSourceList.cxx

@@ -186,7 +186,9 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args)
       "  },\n";
       "  },\n";
     numTests++;
     numTests++;
     }
     }
-
+  // end with an empty struct
+  fout << "  {0,0}\n";
+  
   fout << 
   fout << 
     "};\n"
     "};\n"
     "\n"
     "\n"