changeset 401:b32ca005e025

nginx-0.0.9-2004-07-26-22:31:43 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Jul 2004 18:31:43 +0000
parents 69e851f83522
children f209f3391020
files src/core/nginx.h src/http/modules/ngx_http_index_handler.c src/http/ngx_http.c src/http/ngx_http_core_module.c
diffstat 4 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/nginx.h
+++ b/src/core/nginx.h
@@ -2,7 +2,7 @@
 #define _NGINX_H_INCLUDED_
 
 
-#define NGINX_VER          "nginx/0.0.8"
+#define NGINX_VER          "nginx/0.0.9"
 
 #define NGINX_VAR          "NGINX"
 #define NGX_NEWPID_EXT     ".newbin"
--- a/src/http/modules/ngx_http_index_handler.c
+++ b/src/http/modules/ngx_http_index_handler.c
@@ -98,7 +98,6 @@ ngx_module_t  ngx_http_index_module = {
 ngx_int_t ngx_http_index_handler(ngx_http_request_t *r)
 {
     u_char                     *name;
-    size_t                      len;
     ngx_fd_t                    fd;
     ngx_int_t                   rc;
     ngx_str_t                  *index;
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -69,7 +69,7 @@ static char *ngx_http_block(ngx_conf_t *
     ngx_http_in_addr_t          *in_addr, *inaddr;
     ngx_http_server_name_t      *s_name, *name;
     ngx_http_core_srv_conf_t   **cscfp, *cscf;
-    ngx_http_core_loc_conf_t   **clcfp, *clcf;
+    ngx_http_core_loc_conf_t    *clcf;
     ngx_http_core_main_conf_t   *cmcf;
 #if (WIN32)
     ngx_iocp_conf_t             *iocpcf;
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1264,7 +1264,6 @@ static char *ngx_http_core_merge_srv_con
     ngx_http_core_srv_conf_t *conf = child;
 
     ngx_http_listen_t          *l;
-    ngx_http_conf_ctx_t        *ctx;
     ngx_http_server_name_t     *n;
     ngx_http_core_main_conf_t  *cmcf;
 
@@ -1550,7 +1549,6 @@ static char *ngx_set_server_name(ngx_con
 
     ngx_uint_t                  i;
     ngx_str_t                  *value;
-    ngx_http_conf_ctx_t        *ctx;
     ngx_http_server_name_t     *sn;
     ngx_http_core_main_conf_t  *cmcf;