ソースを参照

ENH: do not use c++ comments in c code

Bill Hoffman 19 年 前
コミット
60e4fef0c6

+ 1 - 1
Tests/LoadCommand/CMakeCommands/cmTestCommand.c

@@ -166,7 +166,7 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
     }
   info->CAPI->ExecuteCommand(mf,"SET",2,args);
   
-  // make sure we can find the source file
+  /* make sure we can find the source file */
   if (!info->CAPI->GetSource(mf,argv[1]))
     {
     info->CAPI->SetError(mf, "Source file could not be found!");

+ 1 - 1
Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c

@@ -166,7 +166,7 @@ static int CCONV InitialPass(void *inf, void *mf, int argc, char *argv[])
     }
   info->CAPI->ExecuteCommand(mf,"SET",2,args);
   
-  // make sure we can find the source file
+  /* make sure we can find the source file */
   if (!info->CAPI->GetSource(mf,argv[1]))
     {
     info->CAPI->SetError(mf, "Source file could not be found!");