Skip to content
Snippets Groups Projects
Commit 6281e617 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Dmitry Ivanov
Browse files

sptree: don't use variable length arrays

This causes warnings if compiled with clang-18. Let's define a sane
upper limit for the max tree depth and use it for allocating arrays
on stack. Note that we don't really care about performance because
sptree is used only in unit tests.

Closes #10354

NO_DOC=internal
NO_TEST=internal
NO_CHANGELOG=internal
parent ff87c937
No related branches found
No related tags found
1 merge request!205misc: fix clang-specific warnings in luajit's asserts
Pipeline #51856 passed