From b93006789f5cbce740bb2cece5a87d2969076e25 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sun, 30 Aug 2015 21:13:51 +0200 Subject: [PATCH] output/csv: Avoid using SR_OK_CONTINUE. --- src/output/csv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/output/csv.c b/src/output/csv.c index d3f99664..8b234424 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -223,7 +223,7 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p */ memset(ctx->analog_vals, 0, sizeof(float) * ctx->num_analog_channels); ctx->inframe = TRUE; - ret = SR_OK_CONTINUE; + ret = SR_OK; break; case SR_DF_FRAME_END: /* @@ -269,7 +269,6 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p if (ctx->inframe) { handle_analog_frame(ctx, analog); - ret = SR_OK_CONTINUE; break; }