diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-15 18:41:10 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-15 18:41:10 +0000 |
| commit | ddb36af57a556b9e72a43ae2a2c2f98840c7c667 (patch) | |
| tree | 22a885534eae9b0e6ea269d9f8c20ef703f17e4d | |
| parent | 28404f68152ebcc66b43381ba9af8a3c462138b7 (diff) | |
| download | rabbitmq-server-git-ddb36af57a556b9e72a43ae2a2c2f98840c7c667.tar.gz | |
optimising refactor of check_xref
| -rwxr-xr-x | check_xref | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/check_xref b/check_xref index 0debd34a7a..ea0102ee45 100755 --- a/check_xref +++ b/check_xref @@ -163,7 +163,8 @@ filters() -> filter_chain(FnChain) -> fun(AnalysisResult) -> - lists:foldl(fun(F, false) -> F(cleanup(AnalysisResult)); + Result = cleanup(AnalysisResult), + lists:foldl(fun(F, false) -> F(Result); (_F, true) -> true end, false, FnChain) end. |
