mirror of
https://git.sr.ht/~leon_plickat/wlopm
synced 2024-11-16 02:18:25 +01:00
Make compiler flags more aggressive
This commit is contained in:
parent
ec680722d4
commit
2d574029fc
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ PREFIX=/usr/local
|
|||||||
BINDIR=$(PREFIX)/bin
|
BINDIR=$(PREFIX)/bin
|
||||||
MANDIR=$(PREFIX)/share/man
|
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
|
LIBS=-lwayland-client
|
||||||
OBJ=wlopm.o wlr-output-power-management-unstable-v1.o xdg-output-unstable-v1.o
|
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
|
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
|
||||||
|
1
wlopm.c
1
wlopm.c
@ -334,7 +334,6 @@ static void sync_handle_done (void *data, struct wl_callback *wl_callback, uint3
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
struct Output *output;
|
struct Output *output;
|
||||||
wl_list_for_each(output, &outputs, link)
|
wl_list_for_each(output, &outputs, link)
|
||||||
if (output->operation_failed)
|
if (output->operation_failed)
|
||||||
|
Loading…
Reference in New Issue
Block a user