Return-Path: Received: from movementarian.org ([178.79.150.28]:45668 "EHLO movementarian.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727223AbfKLXPn (ORCPT ); Tue, 12 Nov 2019 18:15:43 -0500 From: John Levon Subject: [PATCH] Set smatch to output to stdout Date: Tue, 12 Nov 2019 22:57:34 +0000 Message-Id: <1573599454-21772-1-git-send-email-john.levon@joyent.com> Sender: smatch-owner@vger.kernel.org List-ID: To: smatch@vger.kernel.org Cc: John Levon 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