output/csv: Fix a gcc 7 compiler warning.

../src/output/csv.c: In function ‘receive’:
  ../src/output/csv.c:580:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
     *out = g_string_new(ctx->frame);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
  ../src/output/csv.c:582:2: note: here
    case SR_DF_END:
    ^~~~
This commit is contained in:
Uwe Hermann 2017-06-24 18:04:27 +02:00
parent 1a14a62349
commit 317c97bebb
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ static int receive(const struct sr_output *o,
break;
case SR_DF_FRAME_BEGIN:
*out = g_string_new(ctx->frame);
/* And then fall through to... */
/* Fallthrough */
case SR_DF_END:
/* Got to end of frame/session with part of the data. */
if (ctx->channels_seen)