scrooloose/syntastic — pull request #217 by Fruneau (2012-03-26 20:58:48+00:00)
Title: Only keep "valid" entries in the error count.

The location list returned by getloclist() may contain entries that are not errorformat matches. By "definition", (see :help getqflist), matched lines have the attribute "valid": 1 set, so only keep those lines in error/warning list to avoid erroneous counts and strange behaviors.

Signed-off-by: Florent Bruneau