Visitar URL original
Typos found by running "codespell" (#2380) · napcode/cppcheck@130ebe4 · GitHub
Skip to content

Commit 130ebe4

Browse files
arm-inorbitcowboy
authored andcommitted
Typos found by running "codespell" (cppcheck-opensource#2380)
1 parent cfac54c commit 130ebe4

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎cli/cmdlineparser.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
547547

548548
// --project
549549
else if (std::strncmp(argv[i], "--project=", 10) == 0) {
550-
mSettings->checkAllConfigurations = false; // Can be overriden with --max-configs or --force
550+
mSettings->checkAllConfigurations = false; // Can be overridden with --max-configs or --force
551551
const std::string projectFile = argv[i]+10;
552552
ImportProject::Type projType = mSettings->project.import(projectFile, mSettings);
553553
if (projType == ImportProject::Type::CPPCHECK_GUI) {

‎man/manual.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,15 +620,15 @@ You can also suppress some unwanted rules using `--suppress-rules` option. Suppr
620620

621621
### threadsafety.py
622622

623-
[threadsafety.py](https://github.com/danmar/cppcheck/blob/master/addons/threadsafety.py) analyse Cppcheck dump files to locate threadsafety issues like static local objects used by multiple threads.
623+
[threadsafety.py](https://github.com/danmar/cppcheck/blob/master/addons/threadsafety.py) analyse Cppcheck dump files to locate thread safety issues like static local objects used by multiple threads.
624624

625625
## Running Addons
626626

627627
Addons could be run through Cppcheck command line utility as follows:
628628

629629
cppcheck --addon=misra.py somefile.c
630630

631-
This will launch all Cppcheck checks and additionaly calls specific checks provided by selected addon.
631+
This will launch all Cppcheck checks and additionally calls specific checks provided by selected addon.
632632

633633
Some addons need extra arguments. You can configure how you want to execute an addon in a json file. For example put this in misra.json:
634634

‎test/cfg/std.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3147,7 +3147,7 @@ void uninitvar_strlen(const char *str)
31473147
// cppcheck-suppress uninitvar
31483148
(void)strlen(xPtr);
31493149

3150-
// No waring is expected
3150+
// No warning is expected
31513151
(void)strlen(str);
31523152
}
31533153

‎tools/triage/mainwindow.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void MainWindow::findInFilesClicked()
284284
QMimeDatabase mimeDatabase;
285285
QDirIterator it(WORK_FOLDER, filter, QDir::AllEntries | QDir::NoSymLinks | QDir::NoDotAndDotDot, QDirIterator::Subdirectories);
286286

287-
const auto common_path_len = WORK_FOLDER.length() + 1; // let's remove common part of path imporve UI
287+
const auto common_path_len = WORK_FOLDER.length() + 1; // let's remove common part of path improve UI
288288

289289
while (it.hasNext()) {
290290
const QString fileName = it.next();

0 commit comments

Comments
 (0)