cpp: Minor coding style fix
--
This commit is contained in:
parent
fe2892618c
commit
9d83698818
@ -362,10 +362,9 @@ void Key::update()
|
||||
Error err;
|
||||
auto newKey = ctx->key(primaryFingerprint(), err, true);
|
||||
// Not secret so we get the information from the pubring.
|
||||
if (newKey.isNull())
|
||||
{
|
||||
if (newKey.isNull()) {
|
||||
newKey = ctx->key(primaryFingerprint(), err, false);
|
||||
}
|
||||
}
|
||||
delete ctx;
|
||||
if (err) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user