From: Franck Michea Date: Mon, 29 Jul 2013 20:45:27 +0000 (+0200) Subject: Add missing return after error reporting. X-Git-Tag: 4.7~73^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=69d7adcf499aa716586e4b920dfd60e10f9233b0;p=i3%2Fi3 Add missing return after error reporting. --- diff --git a/src/commands.c b/src/commands.c index ca9a332a..cde1cd7c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1796,6 +1796,7 @@ void cmd_move_window_to_center(I3_CMD, char *method) { ystr("error"); ystr("Cannot change position. The window/container is not floating."); y(map_close); + return; } if (strcmp(method, "absolute") == 0) {