summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c8
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) {