From 7d77cc21e044e3e03666437f4cd80c6e31bb30d9 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 11 Apr 2018 15:36:16 -0600 Subject: [PATCH] linux.cf: Add -Wno-unused-result to C flags There are several hundred of these and unless you intend to fix them, they are just compiler noise. If someone does want to go back and redo all of these, then they can just re-enable this warning. --- cde/config/cf/linux.cf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index 22ba1a31..21ed5a08 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -160,7 +160,8 @@ TIRPCLIB = #endif #if !defined(DefaultGcc2i386Opt) -# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings +# define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings \ + -Wno-unused-result #endif #if LinuxCLibMajorVersion < 6 -- 2.25.1