tool_paramhlp: remove duplicate assign

Spotted by CodeSonar

Closes #13433
This commit is contained in:
Daniel Stenberg 2024-04-20 23:06:24 +02:00
parent 8a5fe04c7b
commit cf337d851a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -80,7 +80,7 @@ static size_t memcrlf(char *orig,
if we count non-CRLF */
size_t max)
{
char *ptr = orig;
char *ptr;
size_t total = max;
for(ptr = orig; max; max--, ptr++) {
bool crlf = ISCRLF(*ptr);