[core] refactor fast-zeroing code and fix warnings

* Fox coverity and MinGW warnings
This commit is contained in:
Pete Batard 2018-07-15 12:27:21 +01:00
parent f9275e4780
commit 59aab9b61d
3 changed files with 24 additions and 33 deletions

View file

@ -638,7 +638,7 @@ void ToggleAdvancedFormatOptions(BOOL enable)
void SetPersistenceSize(uint64_t pos, uint64_t max)
{
char tmp[12];
int i, proposed_unit_selection;
int i, proposed_unit_selection = 0;
LONGLONG base_unit = MB;
HWND hCtrl;