From 66ba7b065a4d05114af3e4f250c7542847e89bf1 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Tue, 4 May 2021 21:04:21 -0300 Subject: [PATCH] Cosmetic: fix static warning --- src/transaction.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction.cc b/src/transaction.cc index 822272c9..b6872596 100644 --- a/src/transaction.cc +++ b/src/transaction.cc @@ -523,7 +523,7 @@ int Transaction::processURI(const char *uri, const char *method, } if (netloc != std::string::npos && fullDomain == true) { size_t path = m_uri_decoded.find("/", netloc); - if (path != std::string::npos && fullDomain == true) { + if (path != std::string::npos) { parsedURI = m_uri_decoded.substr(path); } }