Pārlūkot izejas kodu

Merge topic 'cmake-server-pad-arguments'

28e891f0 server-mode: Do not ignore the first cacheArgument on configure
Brad King 9 gadi atpakaļ
vecāks
revīzija
23a63d2024
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Source/cmServerProtocol.cxx

+ 1 - 1
Source/cmServerProtocol.cxx

@@ -936,7 +936,7 @@ cmServerResponse cmServerProtocol1_0::ProcessConfigure(
   }
 
   // Make sure the types of cacheArguments matches (if given):
-  std::vector<std::string> cacheArgs;
+  std::vector<std::string> cacheArgs = { "unused" };
   bool cacheArgumentsError = false;
   const Json::Value passedArgs = request.Data[kCACHE_ARGUMENTS_KEY];
   if (!passedArgs.isNull()) {