mtr icon indicating copy to clipboard operation
mtr copied to clipboard

Delete questionable loop at the beginning of csv_close()

Open elfring opened this issue 3 years ago • 0 comments

I noticed the following loop in the implementation of the function “csv_close”.

    for (i = 0; i < MAXFLD; i++) {
        j = ctl->fld_index[ctl->fld_active[i]];
        if (j < 0)
            continue;
    }

💭 I find such a control flow not useful. Thus I suggest to remove it.

elfring avatar Sep 14 '22 12:09 elfring