]> git.eshelyaron.com Git - emacs.git/commitdiff
verilog-mode.el: remove impossible cond clause
authorMattias Engdegård <mattiase@acm.org>
Fri, 13 Oct 2023 13:12:03 +0000 (15:12 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 13 Oct 2023 13:23:56 +0000 (15:23 +0200)
* lisp/progmodes/verilog-mode.el (verilog-set-auto-endcomments):
Remove can't-happen clause.

lisp/progmodes/verilog-mode.el

index 855ba4b50cf6387fa5c00ae29566dcaf59c4a1bd..2eec4bcd21a705543865ea87f416948b16fa6190 100644 (file)
@@ -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