Changeset - r22918:df9cc6173f9b
[Not reviewed]
master
0 1 0
Alberth - 6 years ago 2018-06-23 07:27:09
alberth289346@gmail.com
Fix: Make switch on MD5File::ChecksumResult complete to avoid compiler warning
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/base_media_func.h
Show inline comments
 
@@ -128,12 +128,15 @@ bool BaseSet<T, Tnum_files, Tsearch_in_t
 
		} else {
 
			file->missing_warning = stredup(item->value);
 
		}
 

	
 
		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++;
 
				break;
 

	
 
			case MD5File::CR_MISMATCH:
0 comments (0 inline, 0 general)