← Commit list

104299195e

Daniel Stenberg
Daniel Stenberg
2025-10-20
SUCCESS Duration: 142s

Subject

curl_get_line: the final return cannot be reached

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_get_line.c+1 -1
@@ -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 */