aboutsummaryrefslogtreecommitdiffstats
path: root/src/connection.c
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman@collabora.com>2024-07-16 06:31:13 -0500
committerSimon Ser <contact@emersion.fr>2024-08-09 20:38:52 +0000
commit58bb6c721126c12ab644bee557bef6825562440a (patch)
treee25284dd549c4febc4487ecef0cabeb6135dcaf5 /src/connection.c
parentdoc: Require strings to be UTF-8 (diff)
downloadwayland-58bb6c721126c12ab644bee557bef6825562440a.tar
wayland-58bb6c721126c12ab644bee557bef6825562440a.tar.gz
wayland-58bb6c721126c12ab644bee557bef6825562440a.tar.bz2
wayland-58bb6c721126c12ab644bee557bef6825562440a.tar.lz
wayland-58bb6c721126c12ab644bee557bef6825562440a.tar.xz
wayland-58bb6c721126c12ab644bee557bef6825562440a.tar.zst
wayland-58bb6c721126c12ab644bee557bef6825562440a.zip
src: Finish assert() clean-up
From cleanup commit 0cecde304: assert()s can be compiled away by #defining NDEBUG. Some build systems do this. Using wl_abort gives a human readable error message and it isn't compiled away. That commit missed one final assert, presumably due to missing it with grep because of a coding style issue. Fix that up, and remove inclusion of <assert.h> as appropriate. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c
index fb6a4be..e1b751a 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -26,7 +26,6 @@
#define _GNU_SOURCE
-#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <stdint.h>