Skip to content

Commit f493ce1

Browse files
committed
astyle formatting
[ci skip]
1 parent bc3f555 commit f493ce1

6 files changed

Lines changed: 267 additions & 265 deletions

File tree

gui/cppchecklibrarydata.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ QString CppcheckLibraryData::open(QIODevice &file)
281281
}
282282
if (xmlReader.hasError()) {
283283
return xmlReader.errorString();
284-
}
285-
else {
284+
} else {
286285
return QString();
287286
}
288287
}

lib/checkbufferoverrun.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -839,11 +839,11 @@ bool CheckBufferOverrun::analyseWholeProgram1(const std::map<std::string, std::l
839839

840840
const std::list<ErrorMessage::FileLocation> &locationList =
841841
CTU::FileInfo::getErrorPath(CTU::FileInfo::InvalidValueType::bufferOverflow,
842-
unsafeUsage,
843-
callsMap,
844-
"Using argument ARG",
845-
&functionCall,
846-
false);
842+
unsafeUsage,
843+
callsMap,
844+
"Using argument ARG",
845+
&functionCall,
846+
false);
847847
if (locationList.empty())
848848
return false;
849849

lib/checknullpointer.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,11 @@ bool CheckNullPointer::analyseWholeProgram(const CTU::FileInfo *ctu, const std::
592592

593593
const std::list<ErrorMessage::FileLocation> &locationList =
594594
CTU::FileInfo::getErrorPath(CTU::FileInfo::InvalidValueType::null,
595-
unsafeUsage,
596-
callsMap,
597-
"Dereferencing argument ARG that is null",
598-
nullptr,
599-
warning);
595+
unsafeUsage,
596+
callsMap,
597+
"Dereferencing argument ARG that is null",
598+
nullptr,
599+
warning);
600600
if (locationList.empty())
601601
continue;
602602

lib/checkuninitvar.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,11 +1439,11 @@ bool CheckUninitVar::analyseWholeProgram(const CTU::FileInfo *ctu, const std::li
14391439

14401440
const std::list<ErrorMessage::FileLocation> &locationList =
14411441
CTU::FileInfo::getErrorPath(CTU::FileInfo::InvalidValueType::uninit,
1442-
unsafeUsage,
1443-
callsMap,
1444-
"Using argument ARG",
1445-
&functionCall,
1446-
false);
1442+
unsafeUsage,
1443+
callsMap,
1444+
"Using argument ARG",
1445+
&functionCall,
1446+
false);
14471447
if (locationList.empty())
14481448
continue;
14491449

0 commit comments

Comments
 (0)