Curl_debug: document switch fallthroughs

This commit is contained in:
Daniel Stenberg 2014-10-03 23:49:39 +02:00
parent b0bfae1963
commit 3aa899929d

View File

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