Revert "initialize array to fix clang-analyze warning"
This reverts commit 56e0ceb44e
.
This commit is contained in:
parent
e11252a7af
commit
4f2922de62
|
@ -201,7 +201,7 @@ void render_con(Con *con, bool render_fullscreen) {
|
||||||
++deco_height;
|
++deco_height;
|
||||||
|
|
||||||
/* precalculate the sizes to be able to correct rounding errors */
|
/* precalculate the sizes to be able to correct rounding errors */
|
||||||
int sizes[children] = { 0 };
|
int sizes[children];
|
||||||
if ((con->layout == L_SPLITH || con->layout == L_SPLITV) && children > 0) {
|
if ((con->layout == L_SPLITH || con->layout == L_SPLITV) && children > 0) {
|
||||||
assert(!TAILQ_EMPTY(&con->nodes_head));
|
assert(!TAILQ_EMPTY(&con->nodes_head));
|
||||||
Con *child;
|
Con *child;
|
||||||
|
|
Loading…
Reference in New Issue