diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-05-27 11:30:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-27 11:30:45 (GMT) |
commit | cb04a09d2dfd197436a11de504b92773569e19fb (patch) | |
tree | 8aa6d8280d9dde5c2058ccd8461f81f207a1a090 /Python/compile.c | |
parent | ddc4a782d3f32efbc03c69ddd59b6fa10911bcd9 (diff) | |
download | cpython-cb04a09d2dfd197436a11de504b92773569e19fb.zip cpython-cb04a09d2dfd197436a11de504b92773569e19fb.tar.gz cpython-cb04a09d2dfd197436a11de504b92773569e19fb.tar.bz2 |
GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/compile.c b/Python/compile.c index d8f859e..541fa4c 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -6094,11 +6094,7 @@ static int compiler_error(struct compiler *c, const char *format, ...) { va_list vargs; -#ifdef HAVE_STDARG_PROTOTYPES va_start(vargs, format); -#else - va_start(vargs); -#endif PyObject *msg = PyUnicode_FromFormatV(format, vargs); va_end(vargs); if (msg == NULL) { @@ -6131,11 +6127,7 @@ static int compiler_warn(struct compiler *c, const char *format, ...) { va_list vargs; -#ifdef HAVE_STDARG_PROTOTYPES va_start(vargs, format); -#else - va_start(vargs); -#endif PyObject *msg = PyUnicode_FromFormatV(format, vargs); va_end(vargs); if (msg == NULL) { |