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
1 changed files with 2 additions and 2 deletions

4
cat.c
View File

@ -8,9 +8,9 @@ int main(int argc, char *argv[]) {
FILE * cur_in_file;
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