From 8ccfc93c2f21205ae8c70ea2ece74be8451197d5 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 3 Oct 1995 14:39:44 +0000 Subject: [PATCH] Removed unused variable --- Mac/Modules/macfsmodule.c | 2 -- Modules/timemodule.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index 4d41f255788..69725cccc87 100644 --- a/Mac/Modules/macfsmodule.c +++ b/Mac/Modules/macfsmodule.c @@ -260,8 +260,6 @@ mfsi_getattr(self, name) mfsiobject *self; char *name; { - object *rv; - if ( strcmp(name, "Type") == 0 ) return PyMac_BuildOSType(self->finfo.fdType); else if ( strcmp(name, "Creator") == 0 ) diff --git a/Modules/timemodule.c b/Modules/timemodule.c index ba2b700dfcf..9d441b2e343 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -302,7 +302,7 @@ ins(d, name, v) void inittime() { - object *m, *d, *v; + object *m, *d; m = initmodule("time", time_methods); d = getmoduledict(m); #ifdef HAVE_TZNAME