diff options
Diffstat (limited to 'Source/cmLoadCacheCommand.cxx')
-rw-r--r-- | Source/cmLoadCacheCommand.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmLoadCacheCommand.cxx b/Source/cmLoadCacheCommand.cxx index 0ec5cab..ef3fe26 100644 --- a/Source/cmLoadCacheCommand.cxx +++ b/Source/cmLoadCacheCommand.cxx @@ -18,14 +18,12 @@ // cmLoadCacheCommand -bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& argsIn) +bool cmLoadCacheCommand::InitialPass(std::vector<std::string> const& args) { - if (argsIn.size()< 1) + if (args.size()< 1) { this->SetError("called with wrong number of arguments."); } - std::vector<std::string> args; - cmSystemTools::ExpandListArguments(argsIn, args); if(args.size() >= 2 && args[1] == "READ_WITH_PREFIX") { |