1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

Make switches on enums exhaustive

This commit is contained in:
Paul Licameli 2016-09-18 10:34:11 -04:00
parent 0323cb8e38
commit 7b87ca6ffd
2 changed files with 6 additions and 0 deletions

View File

@ -219,6 +219,9 @@ void MyFLACFile::metadata_callback(const FLAC__StreamMetadata *metadata)
case FLAC__METADATA_TYPE_CUESHEET: // convert this to labels?
case FLAC__METADATA_TYPE_PICTURE: // ignore pictures
case FLAC__METADATA_TYPE_UNDEFINED: // do nothing with this either
case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
break;
}
}

View File

@ -80,6 +80,9 @@ void ODFLACFile::metadata_callback(const FLAC__StreamMetadata *metadata)
case FLAC__METADATA_TYPE_CUESHEET: // convert this to labels?
case FLAC__METADATA_TYPE_PICTURE: // ignore pictures
case FLAC__METADATA_TYPE_UNDEFINED: // do nothing with this either
case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
break;
}
}