From 4c98887b027606d5ac2e1fec7bd4ea697ffb132d Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 12 May 2022 20:33:23 +0200 Subject: [PATCH] Fix warning about possibly unused value --- librepomgr/webapi/params.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librepomgr/webapi/params.cpp b/librepomgr/webapi/params.cpp index a2790ea..ed66abf 100644 --- a/librepomgr/webapi/params.cpp +++ b/librepomgr/webapi/params.cpp @@ -91,7 +91,7 @@ std::string Url::decodeValue(std::string_view value) SecondDigit, } state = AnyChar; - boost::beast::string_view::value_type encodedValue; + auto encodedValue = boost::beast::string_view::value_type(); try { for (const auto c : value) { switch (state) {