[COV] fix uninitialized warning

Change-Id: Ib526aeac51d626d02b073b26efd3020115641caa
This commit is contained in:
William Wilgus 2022-03-18 20:17:17 -04:00
parent a5e684c894
commit b65763bc10

View file

@ -1698,8 +1698,8 @@ static int add_dir_entry(struct bpb *fat_bpb, struct fat_filestr *parentstr,
int rc;
unsigned char basisname[11], shortname[11];
int n;
int entries_needed;
int n = -1;
unsigned long ucslen = 0;
if (is_dotdir_name(name) && (attr & ATTR_DIRECTORY))