; Suppress empty-body warnings in cedet/semantic

This commit is contained in:
Mattias Engdegård 2022-12-29 13:15:20 +01:00
parent 7c63b632e4
commit 314cbef849
2 changed files with 2 additions and 2 deletions

View file

@ -1243,7 +1243,7 @@ Finds the header file belonging to NAME, gets the macros
from that file, and then merge the macros with our current
symbol table."
(when semantic-lex-spp-use-headers-flag
;; @todo - do this someday, ok?
nil ; @todo - do this someday, ok?
))
(defmacro define-lex-spp-include-analyzer (name doc regexp tokidx

View file

@ -1108,7 +1108,7 @@ This can be done by using `semantic-lex-push-token'."
(semantic-lex-analysis-bounds (cons (point) (point-max)))
(semantic-lex-current-depth 0)
(semantic-lex-maximum-depth semantic-lex-depth))
(when ,condition ,@forms)
(when ,condition nil ,@forms) ; `nil' avoids an empty-body warning.
semantic-lex-token-stream))))
(defmacro define-lex-regex-analyzer (name doc regexp &rest forms)