summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-06-29 15:52:21 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-06-29 15:52:21 (GMT)
commit5c3dd9a1ee959d7e85e9b1ab541687dba8f7d095 (patch)
tree648a05b8edb51bff0b994f1db7ca79036672cbdb /Objects
parente323e0e91a27df127f53d24f2d741c2172e11233 (diff)
downloadcpython-5c3dd9a1ee959d7e85e9b1ab541687dba8f7d095.zip
cpython-5c3dd9a1ee959d7e85e9b1ab541687dba8f7d095.tar.gz
cpython-5c3dd9a1ee959d7e85e9b1ab541687dba8f7d095.tar.bz2
Issue #6368: Fixed unused variable warning on Unix.
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) {