From: Daniel Stenberg Date: Wed, 7 Nov 2018 10:14:20 +0000 (+0100) Subject: curl: correct the switch() logic in ourWriteOut X-Git-Tag: curl-7_63_0~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bda4ef417a00c91e3a7829fdba4b0968dd62e497;p=thirdparty%2Fcurl.git 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 --- diff --git a/src/tool_writeout.c b/src/tool_writeout.c index d394411b09..d5b0bc44f1 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;