From 5a32e5ce48f01180603841194881562ee70fa0db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Fri, 13 Oct 2023 15:12:03 +0200 Subject: [PATCH] verilog-mode.el: remove impossible cond clause * lisp/progmodes/verilog-mode.el (verilog-set-auto-endcomments): Remove can't-happen clause. --- lisp/progmodes/verilog-mode.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 855ba4b50cf..2eec4bcd21a 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -5374,10 +5374,7 @@ primitive or interface named NAME." (goto-char (match-end 0)) (setq there (point)) (setq err nil) - (setq str (concat " // " cntx (verilog-get-expr)))) - - (;-- otherwise... - (setq str " // auto-endcomment confused ")))) + (setq str (concat " // " cntx (verilog-get-expr)))))) ((and (verilog-in-case-region-p) ;-- handle case item differently -- 2.39.5