diff --git a/src/kits/debugger/debug_info/loading_state_handlers/DwarfLoadingStateHandler.cpp b/src/kits/debugger/debug_info/loading_state_handlers/DwarfLoadingStateHandler.cpp index 9cc89e0cc6..fc313a7a78 100644 --- a/src/kits/debugger/debug_info/loading_state_handlers/DwarfLoadingStateHandler.cpp +++ b/src/kits/debugger/debug_info/loading_state_handlers/DwarfLoadingStateHandler.cpp @@ -99,10 +99,8 @@ DwarfLoadingStateHandler::HandleState( choice = interface->SynchronouslyAskUser("Debug info missing", message.String(), "Install", "Locate", "Skip"); } - } else { - choice = requiredPackage.IsEmpty() - ? USER_CHOICE_SKIP : USER_CHOICE_INSTALL_PACKAGE; - } + } else + choice = USER_CHOICE_SKIP; if (choice == USER_CHOICE_INSTALL_PACKAGE) { // TODO: integrate the package installation functionality directly.