aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_encryption.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-15 20:13:08 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-15 20:47:43 +0200
commit88b8f8ec86c107e0d9bbe268b373917dd0ffca3c (patch)
tree68c2415b17e28dea60c2c4971de334d83e48424b /libqpdf/QPDF_encryption.cc
parent4d143d10ebc52c222d590af41ebbf9a7b9de4ba6 (diff)
downloadqpdf-88b8f8ec86c107e0d9bbe268b373917dd0ffca3c.tar.zst
Remove redundant check found by lgtm.com
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r--libqpdf/QPDF_encryption.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc
index 48351122..00bd697e 100644
--- a/libqpdf/QPDF_encryption.cc
+++ b/libqpdf/QPDF_encryption.cc
@@ -960,10 +960,6 @@ QPDF::initializeEncryption()
Length = 0;
}
}
- if (Length == 0)
- {
- Length = 128;
- }
}
if (Length == 0)
{