[PATCH] unreachable code should use sm_warning()

John Levon <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
---
 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
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.