diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-15 18:38:40 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-15 18:38:40 -0800 |
| commit | b39b2d298d0a1c9e05d0fcaf3e801a0a5bd9cb41 (patch) | |
| tree | 3886028218204a32f955405c3e30ce6deae579c1 /toolsrc/src | |
| parent | fcafe9acea90db01ad059d96aeca82c1880e7da6 (diff) | |
| download | vcpkg-b39b2d298d0a1c9e05d0fcaf3e801a0a5bd9cb41.tar.gz vcpkg-b39b2d298d0a1c9e05d0fcaf3e801a0a5bd9cb41.zip | |
Remove unused variable from create_remove_plan()
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/commands_remove.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/vcpkg_Dependencies.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index f49104d1e..92ab56a28 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -176,7 +176,7 @@ namespace vcpkg::Commands::Remove const bool alsoRemoveFolderFromPackages = options.find(OPTION_PURGE) != options.end(); const bool isRecursive = options.find(OPTION_RECURSE) != options.end(); - const std::vector<package_spec_with_remove_plan> remove_plan = Dependencies::create_remove_plan(paths, specs, status_db); + const std::vector<package_spec_with_remove_plan> remove_plan = Dependencies::create_remove_plan(specs, status_db); Checks::check_exit(!remove_plan.empty(), "Remove plan cannot be empty"); print_plan(remove_plan); diff --git a/toolsrc/src/vcpkg_Dependencies.cpp b/toolsrc/src/vcpkg_Dependencies.cpp index 5bd6c3eb9..957814e6e 100644 --- a/toolsrc/src/vcpkg_Dependencies.cpp +++ b/toolsrc/src/vcpkg_Dependencies.cpp @@ -97,7 +97,7 @@ namespace vcpkg::Dependencies return ret; } - std::vector<package_spec_with_remove_plan> create_remove_plan(const vcpkg_paths& paths, const std::vector<package_spec>& specs, const StatusParagraphs& status_db) + std::vector<package_spec_with_remove_plan> create_remove_plan(const std::vector<package_spec>& specs, const StatusParagraphs& status_db) { std::unordered_set<package_spec> specs_as_set(specs.cbegin(), specs.cend()); |
