cpp: Minor coding style fix

--
This commit is contained in:
Andre Heinecke 2019-10-29 11:04:41 +01:00
parent fe2892618c
commit 9d83698818
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -362,10 +362,9 @@ void Key::update()
Error err; Error err;
auto newKey = ctx->key(primaryFingerprint(), err, true); auto newKey = ctx->key(primaryFingerprint(), err, true);
// Not secret so we get the information from the pubring. // Not secret so we get the information from the pubring.
if (newKey.isNull()) if (newKey.isNull()) {
{
newKey = ctx->key(primaryFingerprint(), err, false); newKey = ctx->key(primaryFingerprint(), err, false);
} }
delete ctx; delete ctx;
if (err) { if (err) {
return; return;