summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <andrew@digital-domain.net>2022-06-15 20:42:02 +0100
committerAndrew Clayton <andrew@digital-domain.net>2022-07-18 12:45:28 +0100
commit8cf9ef348eb6190831e3c4a4ccd087e2ac1b8f4d (patch)
tree8226f8a3eca8089526ef879f8d7de41fe1a6ae12
parentd22a3242315662f4b7f3332ea01de0cdc67a838a (diff)
downloadunit-archive/cppcheck-fixes.tar.gz
unit-archive/cppcheck-fixes.tar.bz2
HTTP: removed unused nxt_http_cookie_t structure.archive/cppcheck-fixes
Turns out that struct nxt_http_cookie_t is completely unused.
-rw-r--r--src/nxt_http_route.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nxt_http_route.c b/src/nxt_http_route.c
index 5a4f349e..300261e2 100644
--- a/src/nxt_http_route.c
+++ b/src/nxt_http_route.c
@@ -79,15 +79,6 @@ typedef struct {
} nxt_http_route_pattern_t;
-typedef struct {
- uint16_t hash;
- uint16_t name_length;
- uint32_t value_length;
- u_char *name;
- u_char *value;
-} nxt_http_cookie_t;
-
-
struct nxt_http_route_rule_s {
/* The object must be the first field. */
nxt_http_route_object_t object:8;