From 68fa0eaa191efdbcd379e8fbb27e3749efdaa087 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 27 Apr 2015 11:23:04 +0100 Subject: [PATCH] Fixed a minor compiler warning. --- modules/juce_audio_formats/codecs/juce_MP3AudioFormat.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; }