Skip to content

Commit

Permalink
Fix errors reported by cppcheck in src/quad/sleefsimdqp.c
Browse files Browse the repository at this point in the history
Error: va_list 'ap2' was opened but not closed by va_end().
  • Loading branch information
blapie committed Oct 18, 2024
1 parent 8e8aabe commit 38fce14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/quad/sleefsimdqp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3995,6 +3995,8 @@ static int xvprintf(size_t (*consumer)(const char *ptr, size_t size, void *arg),
outlen += (*consumer)(xbuf, strlen(xbuf), arg);
}

va_end(ap2);

fmt++;
}

Expand Down

0 comments on commit 38fce14

Please sign in to comment.