Skip to contentSkip to conversation

Set smatch to output to stdout

PATCH New John Levon 1 participant 1 message Nov 12, 2019

lore
Share & tools
lore

John Levon

author
#0 lore raw

PATCH 1/1 Set smatch to output to stdout

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(-)
lib.c +1 -1
index 722ee21f..569a1533 100644
@@ -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
Signature · 1 line
2.17.1