From 5738350896c84eb8e706bdd0ef48f1e335ed28e5 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 10 Jun 2015 16:21:33 +0200 Subject: Remove unused temporary variable. --- src/catlfish.erl | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src') 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), -- cgit v1.1