[PATCH 17/18] don't try to parse silenced functions
John Levon <[email protected]>
| Newsgroups | org.kernel.vger.smatch |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: John Levon <[email protected]> --- smatch_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_flow.c b/smatch_flow.c index ca36eaa0..85db248e 100644 --- a/smatch_flow.c +++ b/smatch_flow.c @@ -1062,7 +1062,7 @@ void __split_stmt(struct statement *stmt) if (!__in_fake_assign) __silence_warnings_for_stmt = false; - if (__bail_on_rest_of_function) + if (__bail_on_rest_of_function || is_silenced_function()) return; if (out_of_memory() || taking_too_long()) { -- 2.14.1