Patch for csvbreak.c
Opened this issue · 0 comments
bobhairgrove commented
Issues addressed:
-Wunuset-parameter
warnings resolved;- Inserted calls to
csv_free()
at appropriate places ifexit()
orerr()
was called due to an error; - Fixed missing
fclose()
in main() forinfile
(ifinfile != stdin
).
(Note: I did not test all of the options. Command line used was:
csvbreak -f 1 -h -r -P ../OUT_ [outfile]
)