]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Curl_debug: document switch fallthroughs
authorDaniel Stenberg <daniel@haxx.se>
Fri, 3 Oct 2014 21:49:39 +0000 (23:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 3 Oct 2014 21:49:39 +0000 (23:49 +0200)
lib/sendf.c

index 4a87c79dd9ccb43916bb4facbbb2603343e4fdf6..8e50111b3ef835d8d89805cc58534949afb8999f 100644 (file)
@@ -661,11 +661,13 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
     switch (type) {
     case CURLINFO_HEADER_IN:
       w = "Header";
+      /* FALLTHROUGH */
     case CURLINFO_DATA_IN:
       t = "from";
       break;
     case CURLINFO_HEADER_OUT:
       w = "Header";
+      /* FALLTHROUGH */
     case CURLINFO_DATA_OUT:
       t = "to";
       break;