Commit 54dbf02d authored by Barry Warsaw's avatar Barry Warsaw

Quieted gcc -Wall by removing unused local variables.

parent 845a4c6b
...@@ -72,7 +72,6 @@ resource_getrlimit(self, args) ...@@ -72,7 +72,6 @@ resource_getrlimit(self, args)
{ {
struct rlimit rl; struct rlimit rl;
int resource; int resource;
char *errstr;
if (!PyArg_ParseTuple(args, "i", &resource)) if (!PyArg_ParseTuple(args, "i", &resource))
return NULL; return NULL;
...@@ -97,7 +96,6 @@ resource_setrlimit(self, args) ...@@ -97,7 +96,6 @@ resource_setrlimit(self, args)
{ {
struct rlimit rl; struct rlimit rl;
int resource; int resource;
char *errstr;
if (!PyArg_ParseTuple(args, "i(ii)", &resource, &rl.rlim_cur, if (!PyArg_ParseTuple(args, "i(ii)", &resource, &rl.rlim_cur,
&rl.rlim_max)) &rl.rlim_max))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment