Unverified Commit 0932573e authored by Marcel Raad's avatar Marcel Raad
Browse files

libtest: fix implicit-fallthrough warnings with GCC 7

parent 15136a52
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ int my_trace(CURL *handle, curl_infotype type,
  switch(type) {
  case CURLINFO_TEXT:
    fprintf(stderr, "== Info: %s", (char *)data);
    /* FALLTHROUGH */
  default: /* in case a new one is introduced to shock us */
    return 0;

+1 −0
Original line number Diff line number Diff line
@@ -113,6 +113,7 @@ int libtest_debug_cb(CURL *handle, curl_infotype type,
  switch(type) {
  case CURLINFO_TEXT:
    fprintf(stderr, "%s== Info: %s", timestr, (char *)data);
    /* FALLTHROUGH */
  default: /* in case a new one is introduced to shock us */
    return 0;