Skip to content

Commit 1d0c780

Browse files
Refs #638 Fix stylistic issues uncovered by cppcheck (#643)
1 parent 7360858 commit 1d0c780

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

simplecpp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ namespace simplecpp {
8383
, mSize(strlen(data))
8484
{}
8585

86-
// only provide when std::span is not available so using untyped initilization won't use View
86+
// only provide when std::span is not available so using untyped initialization won't use View
8787
#if !defined(__cpp_lib_span)
8888
View(const char* data, std::size_t size)
8989
: mData(data)
@@ -376,7 +376,7 @@ namespace simplecpp {
376376
const std::string& file(const Location& loc) const;
377377

378378
private:
379-
TokenList(const unsigned char* data, std::size_t size, std::vector<std::string> &filenames, const std::string &filename, OutputList *outputList, int unused);
379+
TokenList(const unsigned char* data, std::size_t size, std::vector<std::string> &filenames, const std::string &filename, OutputList *outputList, int /*unused*/);
380380

381381
void combineOperators();
382382

0 commit comments

Comments
 (0)