curl_get_line: the final return cannot be reached

Follow-up to 769ccb4d42

Pointed out by CodeSonar
Closes #19154
This commit is contained in:
Daniel Stenberg 2025-10-20 09:12:09 +02:00
parent 9596c4a258
commit 104299195e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -68,7 +68,7 @@ CURLcode Curl_get_line(struct dynbuf *buf, FILE *input, bool *eof)
return appendnl(buf);
/* otherwise get next line to append */
}
return CURLE_FAILED_INIT;
/* UNREACHABLE */
}
#endif /* if not disabled */