diff options
author | Björn Gustavsson <[email protected]> | 2015-01-28 15:26:52 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-29 09:38:18 +0100 |
commit | 70478d290046844b504c8fe0643e499009b735b4 (patch) | |
tree | 245a6f296aab37e54f6ff1c019b9791e5f1535fd /lib/compiler/src/cerl.erl | |
parent | 25603134a658a64d5b024fe1668d9db6f331b2e2 (diff) | |
download | otp-70478d290046844b504c8fe0643e499009b735b4.tar.gz otp-70478d290046844b504c8fe0643e499009b735b4.tar.bz2 otp-70478d290046844b504c8fe0643e499009b735b4.zip |
cerl: Remove a clause in fold_map_pairs/3 that will never be reached
Diffstat (limited to 'lib/compiler/src/cerl.erl')
-rw-r--r-- | lib/compiler/src/cerl.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/compiler/src/cerl.erl b/lib/compiler/src/cerl.erl index 705c87539e..1a2957ee31 100644 --- a/lib/compiler/src/cerl.erl +++ b/lib/compiler/src/cerl.erl @@ -1644,9 +1644,7 @@ fold_map_pairs(As,[#c_map_pair{op=#c_literal{val=exact},key=Ck,val=Cv}=E|Es],M) end; false -> #c_map{arg=#c_literal{val=M,anno=As}, es=[E|Es], anno=As } - end; -fold_map_pairs(As,Es,M) -> - #c_map{arg=#c_literal{val=M,anno=As}, es=Es, anno=As }. + end. -spec update_c_map(c_map(), cerl(), [cerl()]) -> c_map() | c_literal(). |