Initialize some variables to sane defaults

This commit is contained in:
Kat R. 2022-10-29 10:02:20 -05:00
parent d91b47b1e2
commit ca43240230

4
cat.c
View file

@ -8,9 +8,9 @@ int main(int argc, char *argv[]) {
FILE * cur_in_file; FILE * cur_in_file;
int i; char c; int i; char c;
int using_unbuffered_output; int using_unbuffered_output = 0;
int error_occurred; int error_occurred = 0;
/* /*
Check for -u and use unbuffered output if present Check for -u and use unbuffered output if present