diff options
author | Björn Gustavsson <[email protected]> | 2016-08-30 09:57:34 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-09-01 15:16:02 +0200 |
commit | feab3f976f265a45345b0a82ea656898db29603f (patch) | |
tree | 178da8d5d40f218379f566441eddf5ae151ced15 /lib/tools/src/cover.erl | |
parent | 18d398f0908346dbf9f7e2c08f68759a05673d2f (diff) | |
download | otp-feab3f976f265a45345b0a82ea656898db29603f.tar.gz otp-feab3f976f265a45345b0a82ea656898db29603f.tar.bz2 otp-feab3f976f265a45345b0a82ea656898db29603f.zip |
cover: Remove always stale comment
The comment in the catch-all clause in munge_expr/2 will always be
stale. There is no way it can be kept up to date.
For example, 'eof' is listed, but 'eof' is a top-level form and is
actually handled in the catch-all clause for munge/4.
Diffstat (limited to 'lib/tools/src/cover.erl')
-rw-r--r-- | lib/tools/src/cover.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/src/cover.erl b/lib/tools/src/cover.erl index 92c10cc306..e2db4f0148 100644 --- a/lib/tools/src/cover.erl +++ b/lib/tools/src/cover.erl @@ -2053,7 +2053,7 @@ munge_expr({bin_element,Line,Value,Size,TypeSpecifierList}, Vars) -> {MungedValue,Vars2} = munge_expr(Value, Vars), {MungedSize,Vars3} = munge_expr(Size, Vars2), {{bin_element,Line,MungedValue,MungedSize,TypeSpecifierList},Vars3}; -munge_expr(Form, Vars) -> % var|char|integer|float|string|atom|nil|eof|default +munge_expr(Form, Vars) -> {Form, Vars}. munge_exprs([Expr|Exprs], Vars, MungedExprs) when Vars#vars.is_guard=:=true, |