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:
parent
0323cb8e38
commit
7b87ca6ffd
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user