Pārlūkot izejas kodu

ENH: null terminate at the end of the list

Bill Hoffman 22 gadi atpakaļ
vecāks
revīzija
711febc82d
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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";
     numTests++;
     }
-
+  // end with an empty struct
+  fout << "  {0,0}\n";
+  
   fout << 
     "};\n"
     "\n"