From a405d60fe3f8b5a4500da8707ec6d5983e18e0e5 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 7 Apr 2017 15:19:01 -0700 Subject: Remove unneeded branch --- toolsrc/src/commands_install.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'toolsrc/src') 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: { -- cgit v1.2.3