Commit 9cbd9b85 authored by Simo Sorce's avatar Simo Sorce Committed by Lev Walkin

Remove dead code.

On the previous line we return if cb is Null, so testing cb is worthless.
Dead code, found by coverity.
Signed-off-by: default avatarSimo Sorce <simo@redhat.com>
parent 2bfb34cb
......@@ -146,8 +146,8 @@ der_write_tags(asn_TYPE_descriptor_t *sd,
if(!cb) return overall_length - struct_length;
ASN_DEBUG("%s %s TL sequence (%d elements)",
cb?"Encoding":"Estimating", sd->name, tags_count);
ASN_DEBUG("Encoding %s TL sequence (%d elements)", sd->name,
tags_count);
/*
* Encode the TL sequence for real.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment