Revert "initialize array to fix clang-analyze warning"

This reverts commit 56e0ceb44e0745b1670952be8f324783abdb28c5.
This commit is contained in:
Michael Stapelberg 2012-12-24 15:28:08 +01:00
parent e11252a7af
commit 4f2922de62

View File

@ -201,7 +201,7 @@ void render_con(Con *con, bool render_fullscreen) {
++deco_height;
/* 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) {
assert(!TAILQ_EMPTY(&con->nodes_head));
Con *child;