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().

Change-Id: I0c69b9d278eaff92cd47d47e6071ea8eb6193d6b
  • Loading branch information
blapie committed Oct 17, 2024
1 parent 89f1b55 commit 0c0e873
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 0c0e873

Please sign in to comment.