cpp: Minor coding style fix
authorAndre Heinecke <aheinecke@gnupg.org>
Tue, 29 Oct 2019 10:04:41 +0000 (11:04 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Tue, 29 Oct 2019 10:04:41 +0000 (11:04 +0100)
--

lang/cpp/src/key.cpp

index 4638fd8..4b37020 100644 (file)
@@ -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;