diff options
author | Andre Heinecke <[email protected]> | 2019-10-29 10:04:41 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2019-10-29 10:04:41 +0000 |
commit | 9d836988188200aa6c7de1db02b08ad73f770005 (patch) | |
tree | 5a7c08d486f4dde541da0418808a84a4b90c2fcf | |
parent | core,w32: Initialize dbg_help for socket debugging (diff) | |
download | gpgme-9d836988188200aa6c7de1db02b08ad73f770005.tar.gz gpgme-9d836988188200aa6c7de1db02b08ad73f770005.zip |
cpp: Minor coding style fix
--
-rw-r--r-- | lang/cpp/src/key.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/cpp/src/key.cpp b/lang/cpp/src/key.cpp index 4638fd86..4b370207 100644 --- a/lang/cpp/src/key.cpp +++ b/lang/cpp/src/key.cpp @@ -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; |