Remove unnecessary int initialization

This commit is contained in:
Paul Schaub 2025-09-29 14:29:45 +02:00
parent ead0bb91c6
commit 6b5c8c8fd2
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -30,7 +30,7 @@ public class Find implements Runnable {
throw new IllegalArgumentException("No subkey ID provided.");
}
identifier = identifier.trim();
long subkeyId = 0;
long subkeyId;
try {
OpenPgpFingerprint fingerprint = OpenPgpFingerprint.parse(identifier);
subkeyId = fingerprint.getKeyId();