diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c index 58965fc445e..10f85fce4f2 100644 --- a/src/lib/util/chd.c +++ b/src/lib/util/chd.c @@ -452,6 +452,9 @@ chd_error chd_file::hunk_info(UINT32 hunknum, chd_codec_type &compressor, UINT32 compressor = CHD_CODEC_PARENT; compbytes = 0; break; + + default: + return CHDERR_UNKNOWN_COMPRESSION; } break; }