diff options
| author | Björn Gustavsson <[email protected]> | 2018-11-22 16:11:53 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-22 16:11:53 +0100 |
| commit | c5de54bdf5f47212b34c744b976c23e193e75fb9 (patch) | |
| tree | c4a84da37e9954bb3b1634a8fe8b9362a89f6389 /lib/stdlib/src | |
| parent | fb8018f9ebebbcb5ef074e33514a4c03aaefbe2d (diff) | |
| parent | df0ce3328e4ac64c0bd82fb10a879d4f0732b261 (diff) | |
| download | otp-c5de54bdf5f47212b34c744b976c23e193e75fb9.tar.gz otp-c5de54bdf5f47212b34c744b976c23e193e75fb9.tar.bz2 otp-c5de54bdf5f47212b34c744b976c23e193e75fb9.zip | |
Merge pull request #2026 from bjorng/bjorn/stdlib/fix-missing-warning/ERL-762
Fix inadvertently suppressed warning for unused variable
OTP-15437
Diffstat (limited to 'lib/stdlib/src')
| -rw-r--r-- | lib/stdlib/src/erl_lint.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl index e9ac2fcdff..e0cd68617b 100644 --- a/lib/stdlib/src/erl_lint.erl +++ b/lib/stdlib/src/erl_lint.erl @@ -2262,8 +2262,7 @@ expr({'fun',Line,Body}, Vt, St) -> {[],St}; {function,M,F,A} -> %% New in R15. - {Bvt, St1} = expr_list([M,F,A], Vt, St), - {vtupdate(Bvt, Vt),St1} + expr_list([M,F,A], Vt, St) end; expr({named_fun,_,'_',Cs}, Vt, St) -> fun_clauses(Cs, Vt, St); |
