diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-21 06:30:49 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-21 06:30:49 +0000 |
commit | d9d0ca12688034d481e2f1f5cf13a098338ec31d (patch) | |
tree | 9dca776a24d0bd34064b21d77fe5b6d290510445 /src/http/ngx_http_parse.c | |
parent | 1ef225254ef3f7fc5470289bdeabad2e31507d55 (diff) | |
download | nginx-d9d0ca12688034d481e2f1f5cf13a098338ec31d.tar.gz nginx-d9d0ca12688034d481e2f1f5cf13a098338ec31d.zip |
nginx-0.0.1-2003-11-21-09:30:49 import
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r-- | src/http/ngx_http_parse.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index fa037ddff..07da10d33 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -392,6 +392,10 @@ int ngx_http_parse_request_line(ngx_http_request_t *r) return NGX_HTTP_PARSE_INVALID_REQUEST; } break; + + /* suppress warning */ + case sw_done: + break; } } @@ -595,6 +599,11 @@ int ngx_http_parse_header_line(ngx_http_request_t *r, ngx_hunk_t *h) return NGX_HTTP_PARSE_INVALID_HEADER; } break; + + /* suppress warning */ + case sw_done: + case sw_header_done: + break; } } |