aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/test/test_lib.hrl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-06-10 10:08:25 +0200
committerBjörn Gustavsson <[email protected]>2013-08-28 07:31:04 +0200
commit7c067aeb33c6548fd3051cff06bf5e5d27a20ff4 (patch)
tree070b984d6ebc566e7703e663dba19bdcaf78b3d0 /lib/sasl/test/test_lib.hrl
parent1959412b1305a76ee2ddc9b1db20d134fa216c6f (diff)
downloadotp-7c067aeb33c6548fd3051cff06bf5e5d27a20ff4.tar.gz
otp-7c067aeb33c6548fd3051cff06bf5e5d27a20ff4.tar.bz2
otp-7c067aeb33c6548fd3051cff06bf5e5d27a20ff4.zip
asn1ct_constructed_per: Simplify gen_enc_line() and friends
The first clause of gen_enc_line() allows us to pass in [] as the value for Element; if we modify the only caller that passes [] to pass an actual expression we can remove the first clause. Furthermore, since the Pos argument was only used by the first clause, we can remove the Pos argument. We can also remove the first clause in gen_enc_component_optional(), since the code in its body is exactly the same as in the following clause.
Diffstat (limited to 'lib/sasl/test/test_lib.hrl')
0 files changed, 0 insertions, 0 deletions