fix(argparse): 修复位置参数处理中的类型转换问题

在处理位置参数时,将 scc_vec_size 的返回值显式转换为 int,
以避免潜在的类型不匹配问题。

fix(pproc): 修复宏展开中的类型转换问题

在多个位置将 scc_vec_size 的返回值显式转换为 int,
确保比较操作的类型一致性。

fix(pproc): 修复头文件包含深度检查的类型转换

将文件栈大小检查中的 scc_vec_size 返回值转换为 int,
保持类型一致性。

fix(sstream): 修复位置日志中未使用的变量警告

更新未使用变量的声明方式,将逗号分隔改为分号分隔,
更好地抑制编译器警告。
This commit is contained in:
zzy
2026-02-27 17:25:56 +08:00
parent 72ef3964ce
commit e79984592e
4 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ static int user_log_handler(logger_t *module, log_level_t level,
const char *fmt, ...) {
/* clang-format off */
(void)file; (void)line; (void)func; // 不再使用
(void) module, (void)file, (void)line, (void)func; // 不再使用
const char *level_str = null;
switch (level) {