Skip to contentSkip to conversation

unreachable code should use sm_warning()

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

lore
Share & tools
lore

John Levon

author
#0 lore raw

PATCH 1/1 unreachable code should use sm_warning()

---
 check_unreachable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
check_unreachable.c +1 -1
index 9762ddcf..3c0fab03 100644
@@ -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;
 }
 
Signature · 1 line
2.17.1