summaryrefslogtreecommitdiff
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
commitddb36af57a556b9e72a43ae2a2c2f98840c7c667 (patch)
tree22a885534eae9b0e6ea269d9f8c20ef703f17e4d
parent28404f68152ebcc66b43381ba9af8a3c462138b7 (diff)
downloadrabbitmq-server-git-ddb36af57a556b9e72a43ae2a2c2f98840c7c667.tar.gz
optimising refactor of check_xref
-rwxr-xr-xcheck_xref3
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.