mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-22 06:28:52 -04:00
Add braces around single line statements
* Ran clang-tidy with "readability-braces-around-statements" to find missing braces around statements.
This commit is contained in:
parent
c427000184
commit
c663b5d5fc
12 changed files with 98 additions and 54 deletions
|
@ -84,12 +84,14 @@ void TestYubiKeyChalResp::ykDetected(int slot, bool blocking)
|
|||
{
|
||||
Q_UNUSED(blocking);
|
||||
|
||||
if (slot > 0)
|
||||
if (slot > 0) {
|
||||
m_detected++;
|
||||
}
|
||||
|
||||
/* Key used for later testing */
|
||||
if (!m_key)
|
||||
if (!m_key) {
|
||||
m_key.reset(new YkChallengeResponseKey(slot, blocking));
|
||||
}
|
||||
}
|
||||
|
||||
void TestYubiKeyChalResp::deinit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue