diff --git a/decompiler/IR2/FormExpressionAnalysis.cpp b/decompiler/IR2/FormExpressionAnalysis.cpp index fbedb68b36..81d5cfafd8 100644 --- a/decompiler/IR2/FormExpressionAnalysis.cpp +++ b/decompiler/IR2/FormExpressionAnalysis.cpp @@ -3920,9 +3920,6 @@ void FunctionCallElement::update_from_stack(const Env& env, arg_forms.at(1)->to_string(env) == std::to_string(state_info.id)) { new_form = pool.alloc_element( GenericOperator::make_function(pool.form("find-parent-state"))); - } else { - printf("BAD match [%s] [%s]\n", arg_forms.at(0)->to_string(env).c_str(), - arg_forms.at(1)->to_string(env).c_str()); } } } diff --git a/decompiler/types2/ForwardProp.cpp b/decompiler/types2/ForwardProp.cpp index 4cf1fc8712..5226f6bda6 100644 --- a/decompiler/types2/ForwardProp.cpp +++ b/decompiler/types2/ForwardProp.cpp @@ -2511,7 +2511,6 @@ void CallOp::propagate_types2(types2::Instruction& instr, bool use_normal_last_arg = true; if (in_tp.kind == TP_Type::Kind::FIND_PARENT_METHOD_FUNCTION) { - printf("in for %s\n", env.func->name().c_str()); bool can_use_call_parent = true; TypeSpec call_parent_result_type; const auto& guessed_name = env.func->guessed_name; diff --git a/lsp/handlers/lsp_router.cpp b/lsp/handlers/lsp_router.cpp index 309cab1499..74f0ee8fea 100644 --- a/lsp/handlers/lsp_router.cpp +++ b/lsp/handlers/lsp_router.cpp @@ -29,8 +29,8 @@ LSPRoute::LSPRoute(std::function(Workspace&, int, json)> req : m_route_type(LSPRouteType::REQUEST_RESPONSE), m_request_handler(request_handler) {} void LSPRouter::init_routes() { - m_routes["shutdown"] = - LSPRoute([](Workspace& /*workspace*/, int /*id*/, nlohmann::json /*params*/) -> std::optional { + m_routes["shutdown"] = LSPRoute( + [](Workspace& /*workspace*/, int /*id*/, nlohmann::json /*params*/) -> std::optional { lg::info("Shutting down LSP due to explicit request"); exit(0); });