diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 15:19:01 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 15:45:14 -0700 |
| commit | a405d60fe3f8b5a4500da8707ec6d5983e18e0e5 (patch) | |
| tree | ee17acc7cffba76b5701f380762a2963b0fd8615 /toolsrc/src/commands_install.cpp | |
| parent | fabeefdb14f3ea4b21e42fddced41e96a09f6df5 (diff) | |
| download | vcpkg-a405d60fe3f8b5a4500da8707ec6d5983e18e0e5.tar.gz vcpkg-a405d60fe3f8b5a4500da8707ec6d5983e18e0e5.zip | |
Remove unneeded branch
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 549a2f91d..2a2202099 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -286,10 +286,7 @@ namespace vcpkg::Commands::Install switch (action.plan.plan_type) { case InstallPlanType::ALREADY_INSTALLED: - if (std::find(specs.begin(), specs.end(), action.spec) != specs.end()) - { - System::println(System::Color::success, "Package %s is already installed", action.spec); - } + System::println(System::Color::success, "Package %s is already installed", action.spec); break; case InstallPlanType::BUILD_AND_INSTALL: { |
