[PATCH] Set smatch to output to stdout

John Levon <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
smatch now outputs any errors to any specified -o argument as a result
of sparse changing its default option handling. This makes it not so useful
as a alternative compiler replacement, since the errors end up in the build file
rather than in the build log.
---
 lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib.c b/lib.c
index 722ee21f..569a1533 100644
--- a/lib.c
+++ b/lib.c
@@ -53,7 +53,7 @@ int verbose, optimize_level, optimize_size, preprocessing;
 int die_if_error = 0;
 int parse_error;
 int has_error = 0;
-int do_output = 1;
+int do_output = 0;
 
 #ifndef __GNUC__
 # define __GNUC__ 2
-- 
2.17.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.