summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2015-10-01 11:28:05 -0700
committerTim Taubert <ttaubert@mozilla.com>2015-10-01 11:28:05 -0700
commit5cfc45a031aff301dbddc8547eb89677ff4f2bdb (patch)
tree04b315621bdf0d6dd00333b0712e8ab7beee13bd /lib
parentb389794bf6e8aebd2594b2450bf1de42edcb8bf4 (diff)
downloadnss-hg-5cfc45a031aff301dbddc8547eb89677ff4f2bdb.tar.gz
Bug 1210389 - Variable assigned once to a constant guards dead code in SEC_PKCS7EncryptContents, r=ekr,mt
Diffstat (limited to 'lib')
-rw-r--r--lib/pkcs7/p7common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/pkcs7/p7common.c b/lib/pkcs7/p7common.c
index 17fadec6c..10015ce25 100644
--- a/lib/pkcs7/p7common.c
+++ b/lib/pkcs7/p7common.c
@@ -408,7 +408,6 @@ SEC_PKCS7EncryptContents(PLArenaPool *poolp,
void *wincx)
{
SECAlgorithmID *algid = NULL;
- SECItem * result = NULL;
SECItem * src;
SECItem * dest;
SECItem * blocked_data = NULL;
@@ -524,9 +523,6 @@ loser:
if(blocked_data != NULL)
SECITEM_ZfreeItem(blocked_data, PR_TRUE);
- if(result != NULL)
- SECITEM_ZfreeItem(result, PR_TRUE);
-
if(rv == SECFailure)
PORT_ArenaRelease(poolp, mark);
else