From 317c97bebb67dbbf5e0ce9382655dea7f2038ac3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 24 Jun 2017 18:04:27 +0200 Subject: [PATCH] output/csv: Fix a gcc 7 compiler warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../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: ^~~~ --- src/output/csv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/csv.c b/src/output/csv.c index 2be4db37..59dcf08c 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -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)