If (nclients == 0), then also (c < 0 || c >= nclients), so the two lines cannot be reached. ---
Heyho, from the three lines of context in the diff it may not be clear. There is an if(c < 0 || c >= nclients) { drawbar(); XSync(dpy, False); return; } in front of it. --Markus tabbed.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tabbed.c b/tabbed.c index ba22f9a..cbdaa1f 100644 --- a/tabbed.c +++ b/tabbed.c @@ -1088,9 +1088,6 @@ unmanage(int c) { return; } - if(!nclients) - return; - if(c == 0) { /* First client. */ nclients--; -- 1.8.5.5