From: Michael Stapelberg Date: Mon, 24 Dec 2012 14:28:08 +0000 (+0100) Subject: Revert "initialize array to fix clang-analyze warning" X-Git-Tag: 4.5~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f2922de621db742f69b3556986998dbba025d53;p=i3%2Fi3 Revert "initialize array to fix clang-analyze warning" This reverts commit 56e0ceb44e0745b1670952be8f324783abdb28c5. --- diff --git a/src/render.c b/src/render.c index c5cb76ba..1216241b 100644 --- a/src/render.c +++ b/src/render.c @@ -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;