From: Uwe Hermann Date: Sun, 22 Dec 2019 13:42:34 +0000 (+0100) Subject: input/csv: Consistently use a newline before the last return statement. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=212769c3b86a8aa01c5573e07bd57f000932e8bb;p=libsigrok.git input/csv: Consistently use a newline before the last return statement. --- diff --git a/src/input/csv.c b/src/input/csv.c index 19bed0b8..a0beebd6 100644 --- a/src/input/csv.c +++ b/src/input/csv.c @@ -350,6 +350,7 @@ static int flush_logic_samples(const struct sr_input *in) return rc; inc->datafeed_buf_fill = 0; + return SR_OK; } @@ -368,6 +369,7 @@ static int queue_logic_samples(const struct sr_input *in) if (rc != SR_OK) return rc; } + return SR_OK; } @@ -443,6 +445,7 @@ static int flush_analog_samples(const struct sr_input *in) } inc->analog_datafeed_buf_fill = 0; + return SR_OK; } @@ -461,6 +464,7 @@ static int queue_analog_samples(const struct sr_input *in) if (rc != SR_OK) return rc; } + return SR_OK; } @@ -728,6 +732,7 @@ static const struct column_details *lookup_column_details(struct context *inc, s return NULL; if (!nr || nr > inc->column_want_count) return NULL; + return &inc->column_details[nr - 1]; } @@ -1025,6 +1030,7 @@ static int parse_ignore(const char *column, struct context *inc, (void)column; (void)inc; (void)details; + return SR_OK; } @@ -1156,6 +1162,7 @@ static int format_match(GHashTable *metadata, unsigned int *confidence) if (!status) return SR_ERR; + return SR_OK; }