fix clang-check warnings

This commit is contained in:
MihailRis
2025-01-01 16:06:44 +03:00
parent 4c23dc6adf
commit 17dcbe98ab
8 changed files with 8 additions and 12 deletions
-1
View File
@@ -32,7 +32,6 @@ static std::unique_ptr<FontStylesScheme> build_styles(
continue;
}
if (token.start.pos > offset) {
int n = token.start.pos - offset;
styles.map.insert(styles.map.end(), token.start.pos - offset, 0);
}
offset = token.end.pos;