build: constify memchr()/strchr()/etc result variables (cont.)

Assisted-by: Rudi Heitbaum
Fixes #20420
Follow-up to 7dc60bdb90 #20425
Follow-up to 0e2507a3c6 #20421

Closes #20428
This commit is contained in:
Viktor Szakats 2026-01-25 13:38:09 +01:00
parent 6974bd7cc8
commit 4e5908306a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
7 changed files with 9 additions and 9 deletions

View file

@ -136,7 +136,7 @@ static CURLcode sendf(struct Curl_easy *data, const char *fmt, ...)
static CURLcode dict_do(struct Curl_easy *data, bool *done)
{
const char *word;
char *word;
char *eword = NULL;
char *ppath;
char *database = NULL;

View file

@ -69,7 +69,7 @@ CURLcode Curl_output_digest(struct Curl_easy *data,
{
CURLcode result;
unsigned char *path = NULL;
char *tmp = NULL;
const char *tmp = NULL;
char *response;
size_t len;
bool have_chlg;