diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-19 21:29:49 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-19 21:29:49 (GMT) |
commit | dff3a37afdf36263d9d10daf35d8400bda0dbbb1 (patch) | |
tree | 33b0e9b4ecde0759e00f928161d24eff99009247 /Modules/xreadlinesmodule.c | |
parent | e5065290e79795c655d46475ae7c92ef225ab90e (diff) | |
download | cpython-dff3a37afdf36263d9d10daf35d8400bda0dbbb1.zip cpython-dff3a37afdf36263d9d10daf35d8400bda0dbbb1.tar.gz cpython-dff3a37afdf36263d9d10daf35d8400bda0dbbb1.tar.bz2 |
Make more warnings go away on the SGI compiler.
This is part of SF patch #424992.
Diffstat (limited to 'Modules/xreadlinesmodule.c')
-rw-r--r-- | Modules/xreadlinesmodule.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/xreadlinesmodule.c b/Modules/xreadlinesmodule.c index 7ae949e..0881dd8 100644 --- a/Modules/xreadlinesmodule.c +++ b/Modules/xreadlinesmodule.c @@ -171,8 +171,6 @@ static PyMethodDef xreadlines_functions[] = { DL_EXPORT(void) initxreadlines(void) { - PyObject *m; - XReadlinesObject_Type.ob_type = &PyType_Type; - m = Py_InitModule("xreadlines", xreadlines_functions); + Py_InitModule("xreadlines", xreadlines_functions); } |