Correct expected return values for checkpatch checker

checkpatch.pl will return 1 when warnings or errors are found, at least in the
current -next tree.  This commit makes the checkpatch checker work again.
This commit is contained in:
Jon Bernard 2013-09-11 11:19:42 -04:00
parent 3a03fee48c
commit aaacb92ce2

View File

@ -39,7 +39,7 @@ function! SyntaxCheckers_c_checkpatch_GetLocList()
return SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'returns': [0],
\ 'returns': [0, 1],
\ 'subtype': 'Style' })
endfunction