Commit 1625fc18 authored by João Távora's avatar João Távora

Don't create nil-severity diagnostics in the Flymake C/C++ backend

* lisp/progmodes/flymake-cc.el (flymake-cc--make-diagnostics): Use
`:error` as a diagnostic severity.
parent f75e68fc
......@@ -72,7 +72,8 @@ SOURCE."
'(("error" . :error)
("note" . :note)
("warning" . :warning))
#'string-match))
#'string-match
:error))
collect (flymake-make-diagnostic source beg end type msg)))
(defun flymake-cc-use-special-make-target ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment