input/csv: Consistently use a newline before the last return statement.

This commit is contained in:
Uwe Hermann 2019-12-22 14:42:34 +01:00
parent 51e60cde09
commit 212769c3b8
1 changed files with 7 additions and 0 deletions

View File

@ -350,6 +350,7 @@ static int flush_logic_samples(const struct sr_input *in)
return rc; return rc;
inc->datafeed_buf_fill = 0; inc->datafeed_buf_fill = 0;
return SR_OK; return SR_OK;
} }
@ -368,6 +369,7 @@ static int queue_logic_samples(const struct sr_input *in)
if (rc != SR_OK) if (rc != SR_OK)
return rc; return rc;
} }
return SR_OK; return SR_OK;
} }
@ -443,6 +445,7 @@ static int flush_analog_samples(const struct sr_input *in)
} }
inc->analog_datafeed_buf_fill = 0; inc->analog_datafeed_buf_fill = 0;
return SR_OK; return SR_OK;
} }
@ -461,6 +464,7 @@ static int queue_analog_samples(const struct sr_input *in)
if (rc != SR_OK) if (rc != SR_OK)
return rc; return rc;
} }
return SR_OK; return SR_OK;
} }
@ -728,6 +732,7 @@ static const struct column_details *lookup_column_details(struct context *inc, s
return NULL; return NULL;
if (!nr || nr > inc->column_want_count) if (!nr || nr > inc->column_want_count)
return NULL; return NULL;
return &inc->column_details[nr - 1]; return &inc->column_details[nr - 1];
} }
@ -1025,6 +1030,7 @@ static int parse_ignore(const char *column, struct context *inc,
(void)column; (void)column;
(void)inc; (void)inc;
(void)details; (void)details;
return SR_OK; return SR_OK;
} }
@ -1156,6 +1162,7 @@ static int format_match(GHashTable *metadata, unsigned int *confidence)
if (!status) if (!status)
return SR_ERR; return SR_ERR;
return SR_OK; return SR_OK;
} }