Make compiler flags more aggressive

This commit is contained in:
Leon Henrik Plickat 2021-06-29 15:51:02 +02:00
parent ec680722d4
commit 2d574029fc
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)