From 4f2922de621db742f69b3556986998dbba025d53 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 24 Dec 2012 15:28:08 +0100 Subject: [PATCH] Revert "initialize array to fix clang-analyze warning" This reverts commit 56e0ceb44e0745b1670952be8f324783abdb28c5. --- src/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5