diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 862406cf..d241f69a 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -207,7 +207,7 @@ swayc_t *destroy_output(swayc_t *output) { | |||
207 | } | 207 | } |
208 | 208 | ||
209 | swayc_t *destroy_view(swayc_t *view) { | 209 | swayc_t *destroy_view(swayc_t *view) { |
210 | if (!sway_assert(view, "null view passed to destroy_view")) { | 210 | if (!view) { |
211 | return NULL; | 211 | return NULL; |
212 | } | 212 | } |
213 | wlr_log(L_DEBUG, "Destroying view '%s'", view->name); | 213 | wlr_log(L_DEBUG, "Destroying view '%s'", view->name); |