[Python-checkins] r73686 - python/trunk/Objects/fileobject.c

hirokazu.yamamoto python-checkins at python.org
Mon Jun 29 17:52:21 CEST 2009


Author: hirokazu.yamamoto
Date: Mon Jun 29 17:52:21 2009
New Revision: 73686

Log:
Issue #6368: Fixed unused variable warning on Unix.

Modified:
   python/trunk/Objects/fileobject.c

Modified: python/trunk/Objects/fileobject.c
==============================================================================
--- python/trunk/Objects/fileobject.c	(original)
+++ python/trunk/Objects/fileobject.c	Mon Jun 29 17:52:21 2009
@@ -2238,7 +2238,9 @@
 	char *mode = "r";
 	int bufsize = -1;
 	int wideargument = 0;
+#ifdef MS_WINDOWS
 	PyObject *po;
+#endif
 
 	assert(PyFile_Check(self));
 	if (foself->f_fp != NULL) {


More information about the Python-checkins mailing list