diff options
author | Saturneric <[email protected]> | 2022-01-04 17:07:35 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-04 17:07:35 +0000 |
commit | 7b90fdce914df633754a5c5fb36e47efa7889241 (patch) | |
tree | 37a16b0dc9ce5cf246a0f036b56ed2e31ee35807 /src/gpg/GpgGenKeyInfo.cpp | |
parent | <chore>(): install TRANSLATORS file in deb mode. (diff) | |
download | GpgFrontend-7b90fdce914df633754a5c5fb36e47efa7889241.tar.gz GpgFrontend-7b90fdce914df633754a5c5fb36e47efa7889241.zip |
<fixed>(core): fixed codacy problem.
1. Consecutive return, break, continue, goto or throw statements are unnecessary.
2. Variable 'current' is assigned a value that is never used.
Diffstat (limited to '')
-rw-r--r-- | src/gpg/GpgGenKeyInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gpg/GpgGenKeyInfo.cpp b/src/gpg/GpgGenKeyInfo.cpp index 124c66e8..f67aaa1f 100644 --- a/src/gpg/GpgGenKeyInfo.cpp +++ b/src/gpg/GpgGenKeyInfo.cpp @@ -168,7 +168,6 @@ void GpgFrontend::GenKeyInfo::setKeySize(int m_key_size) { void GpgFrontend::GenKeyInfo::setExpired( const boost::posix_time::ptime &m_expired) { using namespace boost::gregorian; - auto current = boost::posix_time::second_clock::local_time(); if (!isNonExpired()) { GenKeyInfo::expired_ = m_expired; } |