← Commit list

e8189c4420

Viktor Szakats
Viktor Szakats
2026-01-20
SUCCESS Duration: 312s

Subject

tool_getparam: avoid `-Wcomma` with Apple clang in C89 mode

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

src/tool_getparam.c+2 -1
@@ -3059,7 +3059,8 @@ ParameterError parse_args(int argc, argv_item_t argv[])
ParameterError result = PARAM_OK;
struct OperationConfig *config = global->first;
- for(i = 1, stillflags = TRUE; i < argc && !result; i++) {
+ stillflags = TRUE;
+ for(i = 1; i < argc && !result; i++) {
orig_opt = convert_tchar_to_UTF8(argv[i]);
if(!orig_opt)
return PARAM_NO_MEM;