From 9d836988188200aa6c7de1db02b08ad73f770005 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 29 Oct 2019 11:04:41 +0100 Subject: [PATCH] cpp: Minor coding style fix -- --- lang/cpp/src/key.cpp | 5 ++--- 1 file 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;