mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Avoid a folding VLA warning in clang
This commit is contained in:
parent
03296ac0f2
commit
bc7b849e5b
3 changed files with 8 additions and 8 deletions
|
|
@ -456,7 +456,7 @@ int raid_selftest(void)
|
|||
const int nv = nd + RAID_PARITY_MAX * 2 + 1;
|
||||
void *v_alloc;
|
||||
void **v;
|
||||
void *ref[nd + RAID_PARITY_MAX];
|
||||
void *ref[TEST_COUNT + RAID_PARITY_MAX];
|
||||
int ir[RAID_PARITY_MAX];
|
||||
int ip[RAID_PARITY_MAX];
|
||||
int i, np;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue