Skip to content

Commit 55a6b33

Browse files
committed
style adjustments
1 parent b4c4ebf commit 55a6b33

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Cli/argHandlers.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ int handleOutput(int argc, char *argv[], int *i, CliArgs *opts)
3939

4040
static int handleFlag(int argc, char *argv[], int *i, int *target, int expectedValue, int disallowedValue)
4141
{
42+
(void)argc;
43+
4244
const char *flagName = argv[*i];
4345

4446
if (*target != disallowedValue)

src/Cli/args.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ int parseArgs(int argc, char *argv[], CliArgs *opts)
4545
{
4646
fprintf(stderr, "Unknown option: %s\n", argv[i]);
4747
printUsage(argv[0]);
48+
4849
return EXIT_FAILURE;
4950
}
5051
}

0 commit comments

Comments
 (0)