Fix a couple of uninitialised variables.

This commit is contained in:
SarahW 2017-05-24 21:51:03 +01:00
commit 3fb4eae1b0
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ void img_load(int drive, char *fn)
uint8_t bpb_sectors;
uint8_t bpb_sides;
uint32_t bpt;
uint8_t max_spt; /* Used for XDF detection. */
uint8_t max_spt = 0; /* Used for XDF detection. */
if (!xdf_maps_initialized) initialize_xdf_maps(); /* Initialize XDF maps, will need them to properly register sectors in tracks. */