Skip to content

Commit c92d861

Browse files
committed
Fix typo in "internal error" message
1 parent 68bb197 commit c92d861

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cppcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ unsigned int CppCheck::processFile(const std::string& filename, std::istream& fi
256256
void CppCheck::internalError(const std::string &filename, const std::string &msg)
257257
{
258258
const std::string fixedpath = Path::toNativeSeparators(filename);
259-
const std::string fullmsg("Bailing out from checking " + fixedpath + " since there was a internal error: " + msg);
259+
const std::string fullmsg("Bailing out from checking " + fixedpath + " since there was an internal error: " + msg);
260260

261261
if (_settings.isEnabled("information")) {
262262
const ErrorLogger::ErrorMessage::FileLocation loc1(filename, 0);

lib/cppcheck.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class CPPCHECKLIB CppCheck : ErrorLogger {
134134

135135
private:
136136

137-
/** @brief There has been a internal error => Report information message */
137+
/** @brief There has been an internal error => Report information message */
138138
void internalError(const std::string &filename, const std::string &msg);
139139

140140
/**

0 commit comments

Comments
 (0)