Fix warnings

This commit is contained in:
badaix 2025-02-09 22:15:53 +01:00 committed by Johannes Pohl
parent 92cc5d4e10
commit 70d7b97026
16 changed files with 33 additions and 23 deletions

View file

@ -109,6 +109,7 @@ std::string trim_copy(const std::string& s)
std::string urlEncode(const std::string& str)
{
std::ostringstream os;
// NOLINTNEXTLINE
for (std::string::const_iterator ci = str.begin(); ci != str.end(); ++ci)
{
if ((*ci >= 'a' && *ci <= 'z') || (*ci >= 'A' && *ci <= 'Z') || (*ci >= '0' && *ci <= '9'))