[nginx] GeoIP: removed unused ngx_http_geoip_var_t structure.
Maxim Dounin
mdounin at mdounin.ru
Sat Dec 13 22:12:41 UTC 2025
details: http://freenginx.org/hg/nginx/rev/82cf82e9379b
branches:
changeset: 9444:82cf82e9379b
user: Maxim Dounin <mdounin at mdounin.ru>
date: Sun Dec 14 01:11:02 2025 +0300
description:
GeoIP: removed unused ngx_http_geoip_var_t structure.
It was never used, since introduction of the module in 2985:31af2d1a742e,
and hence removed.
diffstat:
src/http/modules/ngx_http_geoip_module.c | 6 ------
src/stream/ngx_stream_geoip_module.c | 6 ------
2 files changed, 0 insertions(+), 12 deletions(-)
diffs (32 lines):
diff --git a/src/http/modules/ngx_http_geoip_module.c b/src/http/modules/ngx_http_geoip_module.c
--- a/src/http/modules/ngx_http_geoip_module.c
+++ b/src/http/modules/ngx_http_geoip_module.c
@@ -32,12 +32,6 @@ typedef struct {
} ngx_http_geoip_conf_t;
-typedef struct {
- ngx_str_t *name;
- uintptr_t data;
-} ngx_http_geoip_var_t;
-
-
typedef const char *(*ngx_http_geoip_variable_handler_pt)(GeoIP *,
u_long addr);
diff --git a/src/stream/ngx_stream_geoip_module.c b/src/stream/ngx_stream_geoip_module.c
--- a/src/stream/ngx_stream_geoip_module.c
+++ b/src/stream/ngx_stream_geoip_module.c
@@ -30,12 +30,6 @@ typedef struct {
} ngx_stream_geoip_conf_t;
-typedef struct {
- ngx_str_t *name;
- uintptr_t data;
-} ngx_stream_geoip_var_t;
-
-
typedef const char *(*ngx_stream_geoip_variable_handler_pt)(GeoIP *,
u_long addr);
More information about the nginx-devel
mailing list