Fix: Make switch on MD5File::ChecksumResult complete to avoid compiler warning

This commit is contained in:
Alberth 2018-06-23 09:27:09 +02:00 committed by Michael Lutz
parent 21ac11548a
commit 1a5a95aa49
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const
file->check_result = T::CheckMD5(file, BASESET_DIR);
switch (file->check_result) {
case MD5File::CR_UNKNOWN:
break;
case MD5File::CR_MATCH:
this->valid_files++;
this->found_files++;