From: Daniel Stenberg Date: Sat, 4 Oct 2014 14:12:06 +0000 (+0200) Subject: getparameter: comment a switch FALLTHROUGH X-Git-Tag: curl-7_39_0~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55678c6951b2d7d1b8a1b32208af9c03a2a7d426;p=thirdparty%2Fcurl.git getparameter: comment a switch FALLTHROUGH Coverity CID 1061118. Point out that it is on purpose. --- diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 180878baba..cb5e234546 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -1762,6 +1762,7 @@ ParameterError getparameter(char *flag, /* f or -long-flag */ switch(*nextarg) { case '+': nextarg++; + /* FALLTHROUGH */ default: /* If-Modified-Since: (section 14.28 in RFC2068) */ config->timecond = CURL_TIMECOND_IFMODSINCE;