All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unreachable code should use sm_warning()
@ 2019-11-12 22:57 John Levon
  0 siblings, 0 replies; only message in thread
From: John Levon @ 2019-11-12 22:57 UTC (permalink / raw)
  To: smatch; +Cc: John Levon

---
 check_unreachable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check_unreachable.c b/check_unreachable.c
index 9762ddcf..3c0fab03 100644
--- a/check_unreachable.c
+++ b/check_unreachable.c
@@ -172,7 +172,7 @@ static void unreachable_stmt(struct statement *stmt)
 	default:
 		break;
 	}
-	sm_msg("info: ignoring unreachable code.");
+	sm_warning("ignoring unreachable code.");
 	print_unreached = 0;
 }
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-12 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 22:57 [PATCH] unreachable code should use sm_warning() John Levon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.