]> granicus.if.org Git - apache/commitdiff
get rid of unused parameter filename to function get_req()
authorJeff Trawick <trawick@apache.org>
Fri, 2 Mar 2001 22:00:30 +0000 (22:00 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 2 Mar 2001 22:00:30 +0000 (22:00 +0000)
PR: 6980

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88432 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgid.c

index ceae66af0c60c991792728934af1735b260bf731..56a7acccff4b7214adeae114dbf5188c3e697825 100644 (file)
@@ -247,7 +247,7 @@ static void cgid_maint(int reason, void *data, apr_wait_t status)
 #endif
 }
 
-static void get_req(int fd, request_rec *r, char **filename, char **argv0, char ***env, int *req_type) 
+static void get_req(int fd, request_rec *r, char **argv0, char ***env, int *req_type) 
 { 
     int i, len, j; 
     unsigned char *data; 
@@ -493,7 +493,6 @@ static int cgid_server(void *data)
     while (1) {
         int errfileno = STDERR_FILENO;
         char *argv0; 
-        char *filename; 
         char **env; 
         const char * const *argv; 
         apr_int32_t   in_pipe  = APR_CHILD_BLOCK;
@@ -523,7 +522,7 @@ static int cgid_server(void *data)
         r = apr_pcalloc(p, sizeof(request_rec)); 
         procnew = apr_pcalloc(p, sizeof(*procnew));
         r->pool = p; 
-        get_req(sd2, r, &filename, &argv0, &env, &req_type); 
+        get_req(sd2, r, &argv0, &env, &req_type); 
         apr_os_file_put(&r->server->error_log, &errfileno, r->pool);
         apr_os_file_put(&inout, &sd2, r->pool);