From 88b8f8ec86c107e0d9bbe268b373917dd0ffca3c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 15 Oct 2020 14:13:08 -0400 Subject: Remove redundant check found by lgtm.com --- TODO | 1 - libqpdf/QPDF_encryption.cc | 4 ---- 2 files changed, 5 deletions(-) diff --git a/TODO b/TODO index fb9a14e2..d194310e 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,6 @@ Candidates for upcoming release =============================== * Trivial fixes: - * lgtm warning * #470: odd/even -- doc bug * #468: doc typo * Remove travisci 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) { -- cgit v1.2.3-70-g09d2