diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 22:42:44 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 22:42:44 -0400 |
commit | 20f9d49b824fdb7118eab6f559d45b95ecac9331 (patch) | |
tree | 2a71d090d60b26a65a987400665f0afea6366543 /sway/tree/layout.c | |
parent | 2992b72d61933568476e2bf4baf573e714f9ed40 (diff) |
cleanup
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 79470f98..487f895f 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -1,5 +1,4 @@ #define _POSIX_C_SOURCE 200809L -#include <assert.h> #include <ctype.h> #include <math.h> #include <stdbool.h> @@ -283,8 +282,6 @@ void arrange_windows(struct sway_container *container, container->children->length); break; case L_VERT: - assert(container); - assert(container->children); apply_vert_layout(container, x, y, width, height, 0, container->children->length); break; @@ -357,7 +354,6 @@ void apply_vert_layout(struct sway_container *container, const double x, const double y, const double width, const double height, const int start, const int end) { - assert(container); int i; double scale = 0; // Calculate total height |