From bda4ef417a00c91e3a7829fdba4b0968dd62e497 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Nov 2018 11:14:20 +0100 Subject: curl: correct the switch() logic in ourWriteOut Follow-up to e431daf013, as I did the wrong correction for a compiler warning. It should be a break and not a fall-through. Pointed-out-by: Frank Gevaerts --- src/tool_writeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool_writeout.c b/src/tool_writeout.c index d394411b0..d5b0bc44f 100644 --- a/src/tool_writeout.c +++ b/src/tool_writeout.c @@ -324,7 +324,7 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo) curl_easy_getinfo(curl, CURLINFO_SCHEME, &stringp)) fprintf(stream, "%s", stringp); - /* FALLTHROUGH */ + break; case VAR_STDOUT: stream = stdout; break; -- cgit v1.2.1