Skip to content

Commit

Permalink
Suppress clang-tidy false positive
Browse files Browse the repository at this point in the history
Ignore an unitialized va_list false positive emitted by clang-tidy
  • Loading branch information
lhsazevedo committed Aug 19, 2024
1 parent 1642784 commit d215091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/SH/SHDisassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static void set_groups(cs_detail *detail, int n, ...)
va_start(g, n);
while (n > 0) {
sh_insn_group grp;
grp = va_arg(g, sh_insn_group);
grp = va_arg(g, sh_insn_group); // NOLINT(clang-analyzer-valist.Uninitialized)
if (detail) {
detail->groups[detail->groups_count] = grp;
detail->groups_count++;
Expand Down

0 comments on commit d215091

Please sign in to comment.