]> granicus.if.org Git - curl/commitdiff
ntlm: mark deliberate switch case fall-through
authorDaniel Stenberg <daniel@haxx.se>
Mon, 24 Aug 2015 09:29:22 +0000 (11:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Aug 2015 09:29:22 +0000 (11:29 +0200)
Coverity CID 1317367, "Missing break in switch"

lib/curl_ntlm.c

index f9ddf506d0ea60075c66d659c42727f1ac4314eb..53d89d0e250013484e5e5ee4acc3c740c643d699 100644 (file)
@@ -216,7 +216,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy)
     /* connection is already authenticated,
      * don't send a header in future requests */
     ntlm->state = NTLMSTATE_LAST;
-
+    /* fall-through */
   case NTLMSTATE_LAST:
     Curl_safefree(*allocuserpwd);
     authp->done = TRUE;