[Python-checkins] cpython: Issue #13002: Fix Visual Studio warning (not enough actual parameters).

stefan.krah python-checkins at python.org
Wed Sep 21 19:10:10 CEST 2011


http://hg.python.org/cpython/rev/573d73e62bbc
changeset:   72444:573d73e62bbc
user:        Stefan Krah <skrah at bytereef.org>
date:        Wed Sep 21 19:08:39 2011 +0200
summary:
  Issue #13002: Fix Visual Studio warning (not enough actual parameters).

files:
  Python/peephole.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/peephole.c b/Python/peephole.c
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -66,7 +66,7 @@
     const_stack_top = -1; \
     } while(0)
 
-#define CONST_STACK_TOP(x) \
+#define CONST_STACK_TOP() \
     const_stack[const_stack_top]
 
 #define CONST_STACK_LASTN(i) \

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list