winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0ddd4058c2c9374fb2a18f7330c7820e89d90f72
parent 0d181f6415d6906d1ec79de66fd8644a4d37c443
Author: Kaleb Luedtke <jluedtk@jci.com>
Date:   Tue, 14 Mar 2023 18:09:11 -0500

Explicitly prevent fallthrough on OperationType (#3075)


Diffstat:
Msrc/AppInstallerCLICore/Workflows/WorkflowBase.cpp | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/AppInstallerCLICore/Workflows/WorkflowBase.cpp b/src/AppInstallerCLICore/Workflows/WorkflowBase.cpp @@ -865,6 +865,7 @@ namespace AppInstaller::CLI::Workflow case OperationType::Pin: case OperationType::Upgrade: context.Reporter.Info() << Resource::String::NoInstalledPackageFound << std::endl; + break; case OperationType::Completion: case OperationType::Install: case OperationType::Search: