tests/Makefile.am: Add -Wno-unused-result to tests
PATCH 1/1 tests/Makefile.am: Add -Wno-unused-result to tests
Removes useless warnings if a caller of a function does not use its returned value(s). Mostly aesthetic.
Signed-off-by Marius Vlad <[email protected]>
CC Chris Wilson <[email protected]>
CC Daniel Vetter <[email protected]>
--- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile.am +1 -1
@@ -54,7 +54,7 @@ EXTRA_DIST = $(common_files) CLEANFILES = $(EXTRA_PROGRAMS) test-list.txt test-list-full.txt .gitignore -AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(DEBUG_CFLAGS)\ +AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) -Wno-unused-result $(DEBUG_CFLAGS)\ -I$(srcdir)/.. \ -I$(srcdir)/../lib \ -include "$(srcdir)/../lib/check-ndebug.h" \
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx