scrooloose/syntastic — pull request #318 by dstanek (2012-08-10 07:30:45+00:00)
Title: Fixes issue #311

s:Errors() function loops through the location list lookin for errors
and caches the result. The function is called indirectly by
SynasticStatuslineFlag before the location list has content. This patch
ensures s:Errors only gets called if location list has content.