Merge pull request #3747 from firewave/cppcheck-cv

enabled and fixed `constVariable` Cppcheck warnings
This commit is contained in:
matt335672
2026-03-06 11:01:56 +00:00
committed by GitHub
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ decode_rfc3986(const char *rfc3986, int len)
if (rfc3986[i] == '%' && (len - i) > 2 &&
isxdigit(rfc3986[i + 1]) && isxdigit(rfc3986[i + 2]))
{
char jchr[] = { rfc3986[i + 1], rfc3986[i + 2], '\0' };
const char jchr[] = { rfc3986[i + 1], rfc3986[i + 2], '\0' };
result[j++] = g_htoi(jchr);
i += 3;
}