From 6fb5d6e3135a970a72c804128b7bcc8b679ec75b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 7 Aug 2011 20:45:06 +0200 Subject: [PATCH] initialize most to NULL, fixes warning --- src/con.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/con.c b/src/con.c index 5b5acc1b..b8b652b3 100644 --- a/src/con.c +++ b/src/con.c @@ -781,7 +781,7 @@ Con *con_descend_tiling_focused(Con *con) { * */ Con *con_descend_direction(Con *con, direction_t direction) { - Con *most; + Con *most = NULL; DLOG("con_descend_direction(%p, %d)\n", con, direction); if (direction == D_LEFT || direction == D_RIGHT) { if (con->orientation == HORIZ) { -- 2.39.5