From: Michael Stapelberg Date: Sun, 7 Aug 2011 18:45:06 +0000 (+0200) Subject: initialize most to NULL, fixes warning X-Git-Tag: 4.0.2~49 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6fb5d6e3135a970a72c804128b7bcc8b679ec75b;p=i3%2Fi3 initialize most to NULL, fixes warning --- 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) {