Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 874d54d

Browse files
authored
Merge pull request #178 from cipherboy/style-nits
Style nits
2 parents 02562e9 + 1517774 commit 874d54d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/Application.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,10 @@ void Application::processCLI(QStringList& args)
9797
}
9898

9999
QStringList posArguments = parser.positionalArguments();
100-
if (posArguments.isEmpty()) {
101-
if (parser.isSet(tailoring)) {
100+
if (posArguments.isEmpty())
101+
{
102+
if (parser.isSet(tailoring))
103+
{
102104
std::cout << "Tailoring file was provided via --tailoring, but no SCAP "
103105
<< "input was provided. Ignoring the tailoring file."
104106
<< std::endl;

src/OscapScannerRemoteSsh.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ QString OscapScannerRemoteSsh::createRemoteTemporaryFile(bool cancelOnFailure)
415415
"data to! Diagnostic info: %1").arg(proc.getDiagnosticInfo())
416416
);
417417

418-
if (cancelOnFailure) {
418+
if (cancelOnFailure)
419+
{
419420
mCancelRequested = true;
420421
}
421422
signalCompletion(mCancelRequested);
@@ -443,7 +444,8 @@ QString OscapScannerRemoteSsh::createRemoteTemporaryDirectory(bool cancelOnFailu
443444
"Diagnostic info: %1").arg(proc.getDiagnosticInfo())
444445
);
445446

446-
if (cancelOnFailure) {
447+
if (cancelOnFailure)
448+
{
447449
mCancelRequested = true;
448450
}
449451
signalCompletion(mCancelRequested);

0 commit comments

Comments
 (0)