]> git.sur5r.net Git - i3/i3/blobdiff - src/click.c
Prefer compiler warnings to assertions for unhandled switch cases
[i3/i3] / src / click.c
index 656fb8db399d03bb0b6c3b9da4cbf4afd05177f1..c2b38d4dd69d1ebfe5774e223df1ccb88e02d12a 100644 (file)
@@ -44,9 +44,6 @@ static bool tiling_resize_for_border(Con *con, border_t border, xcb_button_press
         case BORDER_BOTTOM:
             search_direction = D_DOWN;
             break;
-        default:
-            assert(false);
-            break;
     }
 
     bool res = resize_find_tiling_participants(&first, &second, search_direction, false);