awful.tag.object.delete: Remove dead code

The case fallback_tag == nil was already checked some lines above.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-05-05 16:34:18 +02:00
parent b0038c8ddb
commit 962a73c18c
1 changed files with 1 additions and 2 deletions

View File

@ -283,8 +283,7 @@ function tag.object.delete(self, fallback_tag)
-- If a client has only this tag, or stickied clients with
-- nowhere to go, abort.
if (not c.sticky and nb_tags == 1) or
(c.sticky and fallback_tag == nil) then
if (not c.sticky and nb_tags == 1) then
return
-- If a client has multiple tags, then do not move it to fallback
elseif nb_tags < 2 then