Skip to content

Commit

Permalink
fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Apr 9, 2024
1 parent 533e2cd commit c55d2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeFormatCore/src/Format/Analyzer/TokenAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void TokenAnalyzer::AnalyzeCallExpression(FormatState &f, LuaSyntaxNode n, const

void TokenAnalyzer::AnalyzeComment(FormatState &f, LuaSyntaxNode n, const LuaSyntaxTree &t) {
auto text = n.GetText(t);
auto pos = 0;
std::size_t pos = 0;
while (pos < text.size() && text[pos] == '-') {
pos++;
}
Expand Down

0 comments on commit c55d2f8

Please sign in to comment.