mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01: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:
@@ -30,8 +30,9 @@ void TestCsvParser::initTestCase()
|
||||
void TestCsvParser::init()
|
||||
{
|
||||
file.reset(new QTemporaryFile());
|
||||
if (not file->open())
|
||||
if (not file->open()) {
|
||||
QFAIL("Cannot open file!");
|
||||
}
|
||||
parser->setBackslashSyntax(false);
|
||||
parser->setComment('#');
|
||||
parser->setFieldSeparator(',');
|
||||
|
||||
Reference in New Issue
Block a user