lint: add clang-tidy linter

This commit is contained in:
Nick Peng
2023-05-30 23:26:05 +08:00
parent d59c148a28
commit f621b424e2
7 changed files with 56 additions and 9 deletions

View File

@@ -187,7 +187,7 @@ static int _tlog_mkdir(const char *path)
return 0;
}
while (*path == ' ' && *path != '\0') {
while (*path == ' ') {
path++;
}