diff options
| author | Thomas Fussell <thomas.fussell@gmail.com> | 2017-03-17 00:33:06 -0400 |
|---|---|---|
| committer | Thomas Fussell <thomas.fussell@gmail.com> | 2017-03-17 00:33:06 -0400 |
| commit | d821b0a28a7223d0b49745c53a3ff032fcb001c8 (patch) | |
| tree | 12e13d5ff298a4e4b4f946ceb90b49cbfbe2d2c9 /toolsrc/src/commands_remove.cpp | |
| parent | 4921636f6bc92e041a410870ce564615c85a6cfb (diff) | |
| parent | 01b1e39c6a006adba7b9cf2af758be679d0b7eb9 (diff) | |
| download | vcpkg-d821b0a28a7223d0b49745c53a3ff032fcb001c8.tar.gz vcpkg-d821b0a28a7223d0b49745c53a3ff032fcb001c8.zip | |
Merge branch 'master' of https://github.com/Microsoft/vcpkg
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
| -rw-r--r-- | toolsrc/src/commands_remove.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index 1b7b7923a..7e4228496 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -129,7 +129,7 @@ namespace vcpkg::Commands::Remove continue; } - Checks::unreachable(); + Checks::unreachable(VCPKG_LINE_INFO); } if (!not_installed.empty()) @@ -158,7 +158,7 @@ namespace vcpkg::Commands::Remove return " " + p->spec.toString(); } - Checks::unreachable(); + Checks::unreachable(VCPKG_LINE_INFO); })); } } @@ -175,7 +175,7 @@ namespace vcpkg::Commands::Remove auto status_db = database_load_check(paths); 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"); + Checks::check_exit(VCPKG_LINE_INFO, !remove_plan.empty(), "Remove plan cannot be empty"); print_plan(remove_plan); @@ -208,7 +208,7 @@ namespace vcpkg::Commands::Remove break; case remove_plan_type::UNKNOWN: default: - Checks::unreachable(); + Checks::unreachable(VCPKG_LINE_INFO); } if (alsoRemoveFolderFromPackages) |
