Skip to content

Commit

Permalink
Merge pull request #12847 from Be-ing/soundsourcemp3_warning
Browse files Browse the repository at this point in the history
SoundSourceMP3: fix unused function warning
  • Loading branch information
daschuer authored Feb 20, 2024
2 parents 0d4fb5f + 3a81eaa commit 9b1cf64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sources/soundsourcemp3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ inline bool isUnrecoverableError(mad_error error) {
return (MAD_ERROR_NONE != error) && !MAD_RECOVERABLE(error);
}

inline bool hasUnrecoverableError(const mad_stream* pMadStream) {
#ifndef MIXXX_DEBUG_ASSERTIONS_ENABLED
[[maybe_unused]]
#endif
inline bool
hasUnrecoverableError(const mad_stream* pMadStream) {
if (pMadStream) {
return isUnrecoverableError(pMadStream->error);
}
Expand Down

0 comments on commit 9b1cf64

Please sign in to comment.