diff options
author | Barry Warsaw <barry@python.org> | 1997-01-14 17:37:32 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-01-14 17:37:32 +0000 |
commit | 41b0219284d724a251d9a1781ae1bf1bd861e29c (patch) | |
tree | 0b1409d70651d7fbe1f56f23b51c595a0b582a40 /Modules/resource.c | |
parent | 45174bf04da8188c06dd7cb26bbe77165c72a9cc (diff) | |
download | cpython-41b0219284d724a251d9a1781ae1bf1bd861e29c.tar.gz |
Quieted gcc -Wall by removing unused local variables.
Diffstat (limited to 'Modules/resource.c')
-rw-r--r-- | Modules/resource.c | 2 |
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)) |