mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
Fix build errors with -Werror and NDEBUG
To reproduce:
meson setup build -Db_ndebug=true --werror
meson compile -C build
This commit is contained in:
parent
4666996b2a
commit
722f3eae42
9 changed files with 33 additions and 38 deletions
|
|
@ -96,8 +96,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
|
|||
struct sample_output *sample_output = wl_container_of(listener, sample_output, frame);
|
||||
struct sample_state *state = sample_output->state;
|
||||
struct wlr_output *wlr_output = sample_output->output;
|
||||
struct wlr_renderer *renderer = state->renderer;
|
||||
assert(renderer);
|
||||
assert(state->renderer);
|
||||
|
||||
struct wlr_output_state output_state;
|
||||
wlr_output_state_init(&output_state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue