summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menusupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-23 23:16:25 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-23 23:16:25 (GMT)
commitb734869f46cdbbfff231fdab49dc0ad4e3b45623 (patch)
tree54d71b8e166220f0c933ec78490a5a6eb850856d /Mac/Modules/menu/menusupport.py
parent74d93c81c190f9dfd7302e17536a49b8dd4f7da6 (diff)
downloadcpython-b734869f46cdbbfff231fdab49dc0ad4e3b45623.zip
cpython-b734869f46cdbbfff231fdab49dc0ad4e3b45623.tar.gz
cpython-b734869f46cdbbfff231fdab49dc0ad4e3b45623.tar.bz2
- Various tweaks to shut up compiler warnings.
- Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
Diffstat (limited to 'Mac/Modules/menu/menusupport.py')
-rw-r--r--Mac/Modules/menu/menusupport.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mac/Modules/menu/menusupport.py b/Mac/Modules/menu/menusupport.py
index 7a660c5..6c8229c 100644
--- a/Mac/Modules/menu/menusupport.py
+++ b/Mac/Modules/menu/menusupport.py
@@ -83,8 +83,6 @@ PyObject *OptMenuObj_New(MenuRef itself)
/* Alternative version of MenuObj_Convert, which returns NULL for a None argument */
int OptMenuObj_Convert(PyObject *v, MenuRef *p_itself)
{
- PyObject *tmp;
-
if ( v == Py_None ) {
*p_itself = NULL;
return 1;