From: Barry Warsaw Date: Tue, 14 Jan 1997 17:37:32 +0000 (+0000) Subject: Quieted gcc -Wall by removing unused local variables. X-Git-Tag: v1.5a1~520 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54dbf02da223b76e90f4630487d5e3fbea939cfb;p=python Quieted gcc -Wall by removing unused local variables. --- diff --git a/Modules/resource.c b/Modules/resource.c index 48d148d781..01fe79c38d 100644 --- a/Modules/resource.c +++ b/Modules/resource.c @@ -72,7 +72,6 @@ resource_getrlimit(self, args) { struct rlimit rl; int resource; - char *errstr; if (!PyArg_ParseTuple(args, "i", &resource)) return NULL; @@ -97,7 +96,6 @@ resource_setrlimit(self, args) { struct rlimit rl; int resource; - char *errstr; if (!PyArg_ParseTuple(args, "i(ii)", &resource, &rl.rlim_cur, &rl.rlim_max))