diff --git a/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp b/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp index 6551f1f53b..524ecf351c 100644 --- a/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp +++ b/modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp @@ -426,9 +426,8 @@ struct VBRTagData if (flags & 4) { - if (toc != nullptr) - for (int i = 0; i < 100; ++i) - toc[i] = data[i]; + for (int i = 0; i < 100; ++i) + toc[i] = data[i]; data += 100; }