Skip to content

Commit

Permalink
match: suppress clang-tidy warning
Browse files Browse the repository at this point in the history
It's a dead store but I want to keep it for consistency.

Tool: clang-tidy
  • Loading branch information
mptre committed Aug 15, 2024
1 parent 98383fa commit 10ce18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ main(int argc, char *argv[])
}
}
argc -= optind;
argv += optind;
argv += optind; /* NOLINT(clang-analyzer-deadcode.DeadStores) */
if (argc != 0 || output_path == NULL)
usage();

Expand Down

0 comments on commit 10ce18d

Please sign in to comment.