mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
c89 declarations
This commit is contained in:
parent
5b066817e2
commit
0e9e98edc7
2 changed files with 11 additions and 11 deletions
|
@ -366,9 +366,9 @@ class Obj2ModVisitor(PickleVisitor):
|
|||
self.emit("obj2ast_%s(PyObject* obj, %s* out, PyArena* arena)" % (name, ctype), 0)
|
||||
self.emit("{", 0)
|
||||
self.emit("PyObject* tmp = NULL;", 1)
|
||||
self.emit("int isinstance;", 1)
|
||||
# Prevent compiler warnings about unused variable.
|
||||
self.emit("tmp = tmp;", 1)
|
||||
self.emit("int isinstance;", 1)
|
||||
self.emit("", 0)
|
||||
|
||||
def sumTrailer(self, name, add_label=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue