]> granicus.if.org Git - python/commitdiff
Quieted gcc -Wall by removing unused local variables.
authorBarry Warsaw <barry@python.org>
Tue, 14 Jan 1997 17:37:32 +0000 (17:37 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 14 Jan 1997 17:37:32 +0000 (17:37 +0000)
Modules/resource.c

index 48d148d7819894bc843daa3f69cad2f2f5471045..01fe79c38d6590f3f122f7b9475bfa0124ce5b45 100644 (file)
@@ -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))