From 7340483dc3071c33d5d2a726032a61632c28509a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 12 Jul 2022 16:16:58 +0800 Subject: unreachable-code --- script/proto/diagnostic.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/proto/diagnostic.lua') diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua index d8312dfe..dc550fac 100644 --- a/script/proto/diagnostic.lua +++ b/script/proto/diagnostic.lua @@ -47,6 +47,7 @@ m.register { 'redundant-return', 'empty-block', 'code-after-break', + 'unreachable-code', } { group = 'unused', severity = 'Hint', -- cgit v1.2.3