Skip to contentSkip to conversation

tests/Makefile.am: Add -Wno-unused-result to tests

PATCH New Marius Vlad 1 participant 1 message Aug 24, 2016

lore
Share & tools
lore
#0 lore raw

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.

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
index 0137597..bf27cb7 100644
@@ -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