Browse Source

Remove unnessary rewind

Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
redesign
Pradana AUMARS 10 months ago
parent
commit
cba239de98
  1. 3
      src/easycsv.c

3
src/easycsv.c

@ -111,9 +111,6 @@ easycsv_find_value(const easycsv* csv,
const unsigned int cols = easycsv_print_columns(csv);
const unsigned int rows = easycsv_print_rows(csv);
/* Set file pointer to start */
easycsv_rewind(csv);
for (unsigned int row_l = 1; row_l < rows; row_l++) {
for (unsigned int col_l = 1; col_l < cols; col_l++) {
str = easycsv_read_value(csv, col_l, row_l);

Loading…
Cancel
Save