tidy
This commit is contained in:
7 files changed
+5
-5
No files matched your search
@@ -12,7 +12,6 @@ typedef struct {
|
||||
bool alternate;
|
||||
} CSV_LINE;
|
||||
|
||||
// Dumbass me set this to size_t earlier, forgot that size_t is unsigned and I can't return -1 on failure
|
||||
int count_lines(char data_dir[]) {
|
||||
FILE *stream = fopen(data_dir, "r");
|
||||
if (!stream) {
|
||||
@@ -72,4 +71,4 @@ CSV_LINE *csvReader(char data_dir[], size_t size) {
|
||||
|
||||
fclose(stream);
|
||||
return lines;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user