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-06-15 21:07:08 +0100
commit09e9ffeca50ba31ccb3061f9f6bef20f4283d9ea (patch)
tree001f0054ac98c7e8d2e205a41fe2645524c7d6ed
parent7d99882da7526f50bae10c4077d9aeefac1dc40d (diff)
downloadunit-archive/unusedStructMember.tar.gz
unit-archive/unusedStructMember.tar.bz2
HTTP: removed unused nxt_http_cookie_t structure.archive/unusedStructMember
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 f7023997..d1fe298f 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;