summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-14 17:37:32 (GMT)
committerBarry Warsaw <barry@python.org>1997-01-14 17:37:32 (GMT)
commit54dbf02da223b76e90f4630487d5e3fbea939cfb (patch)
treee32b12cb20f92acbad900049c77f557f13b7bda0 /Modules
parent845a4c6bb7b1ffd5f98c473914cb558e9795d3cb (diff)
downloadcpython-54dbf02da223b76e90f4630487d5e3fbea939cfb.zip
cpython-54dbf02da223b76e90f4630487d5e3fbea939cfb.tar.gz
cpython-54dbf02da223b76e90f4630487d5e3fbea939cfb.tar.bz2
Quieted gcc -Wall by removing unused local variables.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/resource.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/resource.c b/Modules/resource.c
index 48d148d..01fe79c 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))