From 79564f98476d777c805695fce77861bb4749467f Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Thu, 31 Jan 2013 16:41:16 +0000 Subject: [PATCH] fix a bug with the checkpatch checker (introduced in the epic refactor) --- syntax_checkers/c/checkpatch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/c/checkpatch.vim b/syntax_checkers/c/checkpatch.vim index ade875f0..90745ef7 100644 --- a/syntax_checkers/c/checkpatch.vim +++ b/syntax_checkers/c/checkpatch.vim @@ -21,7 +21,7 @@ elseif executable("./scripts/checkpatch.pl") endif function SyntaxCheckers_c_checkpatch_IsAvailable() - exists("g:syntastic_c_checker_checkpatch_location") + return exists("g:syntastic_c_checker_checkpatch_location") endfunction