summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 4c523d4..3220702 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -2238,7 +2238,9 @@ file_init(PyObject *self, PyObject *args, PyObject *kwds)
char *mode = "r";
int bufsize = -1;
int wideargument = 0;
+#ifdef MS_WINDOWS
PyObject *po;
+#endif
assert(PyFile_Check(self));
if (foself->f_fp != NULL) {