Skip to content

Commit

Permalink
Coding - suppress CLang warning -Wunused-but-set-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gkv311 committed Jan 3, 2025
1 parent 04fca21 commit eca3f62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions StShared/StLangMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ bool StLangMap::read(const char* theContent,

const char* anEnd = theContent + theLen;
size_t aNbLines = 0;
(void)aNbLines; // verbose variable
for(StUtf8Iter aCharIter(theContent); aCharIter.getBufferHere() < anEnd && *aCharIter != 0; ++aCharIter) {
if(*aCharIter == '-'
|| *aCharIter == '#'
Expand Down

0 comments on commit eca3f62

Please sign in to comment.