diff --git a/Makefile b/Makefile index 92b793b..4f7b62b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ PREFIX=/usr/local BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/share/man -CFLAGS=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion +CFLAGS=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result LIBS=-lwayland-client OBJ=wlopm.o wlr-output-power-management-unstable-v1.o xdg-output-unstable-v1.o GEN=wlr-output-power-management-unstable-v1.c wlr-output-power-management-unstable-v1.h xdg-output-unstable-v1.c xdg-output-unstable-v1.h diff --git a/wlopm.c b/wlopm.c index 8ef3164..d257199 100644 --- a/wlopm.c +++ b/wlopm.c @@ -334,7 +334,6 @@ static void sync_handle_done (void *data, struct wl_callback *wl_callback, uint3 } else { - struct Output *output; wl_list_for_each(output, &outputs, link) if (output->operation_failed)