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:
parent
3a03fee48c
commit
aaacb92ce2
@ -39,7 +39,7 @@ function! SyntaxCheckers_c_checkpatch_GetLocList()
|
||||
return SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'returns': [0],
|
||||
\ 'returns': [0, 1],
|
||||
\ 'subtype': 'Style' })
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user