va_end vargs2 once (closes #28417)

This commit is contained in:
Benjamin Peterson 2016-10-11 23:00:58 -07:00
parent 1c3a121bb0
commit b329e1bb5b
1 changed files with 0 additions and 1 deletions

View File

@ -2895,7 +2895,6 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
do do
{ {
if ((unsigned char)*p > 127) { if ((unsigned char)*p > 127) {
va_end(vargs2);
PyErr_Format(PyExc_ValueError, PyErr_Format(PyExc_ValueError,
"PyUnicode_FromFormatV() expects an ASCII-encoded format " "PyUnicode_FromFormatV() expects an ASCII-encoded format "
"string, got a non-ASCII byte: 0x%02x", "string, got a non-ASCII byte: 0x%02x",