From 37037a6ee7b73c101bd196bf0a6cb6c6432e542a Mon Sep 17 00:00:00 2001 From: TapTap Date: Sat, 12 Sep 2026 21:07:14 +0200 Subject: [PATCH] refactor(client-cli): drop unused CliParseCtx positional fields (cppcheck) --- src/client/client_cli.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/client_cli.c b/src/client/client_cli.c index d1676da..400be1b 100644 --- a/src/client/client_cli.c +++ b/src/client/client_cli.c @@ -826,8 +826,6 @@ typedef struct { Config* config; int argc; char** argv; - int* positional_args; - int* positional_count; int i; /* index of the argument currently being examined */ int exit_code; /* nonzero when a matched handler wants parse_args to return */ bool verbose; /* "-v"/"--verbose" seen (drives the final log level) */ @@ -1855,8 +1853,6 @@ int parse_args(Config* config, int argc, char* argv[], int* positional_args, .config = config, .argc = argc, .argv = argv, - .positional_args = positional_args, - .positional_count = positional_count, .i = 1, .exit_code = 0, .verbose = false,