summaryrefslogtreecommitdiff
path: root/Modules/resource.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-14 17:37:32 +0000
committerBarry Warsaw <barry@python.org>1997-01-14 17:37:32 +0000
commit41b0219284d724a251d9a1781ae1bf1bd861e29c (patch)
tree0b1409d70651d7fbe1f56f23b51c595a0b582a40 /Modules/resource.c
parent45174bf04da8188c06dd7cb26bbe77165c72a9cc (diff)
downloadcpython-41b0219284d724a251d9a1781ae1bf1bd861e29c.tar.gz
Quieted gcc -Wall by removing unused local variables.
Diffstat (limited to 'Modules/resource.c')
-rw-r--r--Modules/resource.c2
1 files changed, 0 insertions, 2 deletions
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))