summaryrefslogtreecommitdiff
path: root/check_xref
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-01-15 18:41:10 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-01-15 18:41:10 +0000
commit0dc5006c8aada96821af5229215c3cb8e4698f2c (patch)
tree22a885534eae9b0e6ea269d9f8c20ef703f17e4d /check_xref
parent04e567b3ebf3f75c2830d6a147c792326ae2a822 (diff)
downloadrabbitmq-server-0dc5006c8aada96821af5229215c3cb8e4698f2c.tar.gz
optimising refactor of check_xref
Diffstat (limited to 'check_xref')
-rwxr-xr-xcheck_xref3
1 files changed, 2 insertions, 1 deletions
diff --git a/check_xref b/check_xref
index 0debd34a..ea0102ee 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.