diff --git a/components/brave_wallet/browser/swap_response_parser.cc b/components/brave_wallet/browser/swap_response_parser.cc index 4f112a445642..b51e9acfff39 100644 --- a/components/brave_wallet/browser/swap_response_parser.cc +++ b/components/brave_wallet/browser/swap_response_parser.cc @@ -225,7 +225,7 @@ mojom::ZeroExQuoteInfoPtr ParseQuoteResponse(const base::Value& json_value, return swap_response; } - if (auto quote = ParseQuote(swap_response_value.value()); quote) { + if (auto quote = ParseQuote(swap_response_value.value())) { swap_response->quote = std::move(quote); } else { return nullptr;