1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-03 03:30:06 +00:00

GCC: Fix some compiler warnings in GCC 11

This commit is contained in:
Tom Poole 2022-04-01 16:39:37 +01:00 committed by reuk
parent 220fa03eb0
commit ef8ad92138
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
9 changed files with 13 additions and 15 deletions

View file

@ -1567,7 +1567,7 @@ public:
const int num = random.nextInt (range) + 1;
HeapBlock<ValueType> buffer1 (num + 16), buffer2 (num + 16);
HeapBlock<int> buffer3 (num + 16);
HeapBlock<int> buffer3 (num + 16, true);
#if JUCE_ARM
ValueType* const data1 = buffer1;