diff options
author | Linus Nordberg <linus@nordu.net> | 2015-06-10 16:21:33 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-06-10 16:54:55 +0200 |
commit | 5738350896c84eb8e706bdd0ef48f1e335ed28e5 (patch) | |
tree | 5e77c60f47f0e1f3ab44ae74d76707ec00d4cca9 | |
parent | d941ea72210224c4ee80c304b8b0d3aa54b80e3b (diff) |
Remove unused temporary variable.
-rw-r--r-- | src/catlfish.erl | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/catlfish.erl b/src/catlfish.erl index 0a14961..dd25a84 100644 --- a/src/catlfish.erl +++ b/src/catlfish.erl @@ -252,15 +252,13 @@ deserialise_extra_data(ExtraData) -> chain_from_mtl_extradata(MTL, ExtraData) -> TimestampedEntry = MTL#mtl.entry, Chain = deserialise_extra_data(ExtraData), - Data = - case TimestampedEntry#timestamped_entry.entry_type of - x509_entry -> - SignedEntry = TimestampedEntry#timestamped_entry.signed_entry, - [SignedEntry#signed_x509_entry.asn1_cert | Chain]; - precert_entry -> - Chain - end, - Data. + case TimestampedEntry#timestamped_entry.entry_type of + x509_entry -> + SignedEntry = TimestampedEntry#timestamped_entry.signed_entry, + [SignedEntry#signed_x509_entry.asn1_cert | Chain]; + precert_entry -> + Chain + end. mtl_and_extra_from_entry(Entry) -> {MTLText, ExtraDataPacked} = unpack_entry(Entry), |