[core] fix a regression when scanning uncompressed bootable DD images

* Closes #1206
This commit is contained in:
Pete Batard 2018-09-13 11:49:51 +01:00
parent 2d99bbcd41
commit 2d99601a5f
8 changed files with 28 additions and 24 deletions

View file

@ -55,9 +55,9 @@
/*
* Globals
*/
DWORD FormatStatus;
badblocks_report report;
static uint64_t LastRefresh;
DWORD FormatStatus = 0;
badblocks_report report = { 0 };
static uint64_t LastRefresh = 0;
static float format_percent = 0.0f;
static int task_number = 0;
extern const int nb_steps[FS_MAX];