summaryrefslogtreecommitdiffstats
path: root/Modules/_bisectmodule.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-03 23:44:54 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-05-03 23:44:54 (GMT)
commit5d947cb324d1909480d71896cb5a9c06a668d6b3 (patch)
tree37b75edebd4e0074cf558d52bf2916518de08c60 /Modules/_bisectmodule.c
parent8e9757e432450514b3bc58373df75b71a3ae697d (diff)
downloadcpython-5d947cb324d1909480d71896cb5a9c06a668d6b3.zip
cpython-5d947cb324d1909480d71896cb5a9c06a668d6b3.tar.gz
cpython-5d947cb324d1909480d71896cb5a9c06a668d6b3.tar.bz2
Remove unneeded variable assignment.
Found using Clang's static analyzer.
Diffstat (limited to 'Modules/_bisectmodule.c')
-rw-r--r--Modules/_bisectmodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/_bisectmodule.c b/Modules/_bisectmodule.c
index fc54954..b78476d 100644
--- a/Modules/_bisectmodule.c
+++ b/Modules/_bisectmodule.c
@@ -237,7 +237,5 @@ common approach.\n");
PyMODINIT_FUNC
init_bisect(void)
{
- PyObject *m;
-
- m = Py_InitModule3("_bisect", bisect_methods, module_doc);
+ Py_InitModule3("_bisect", bisect_methods, module_doc);
}