summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-03-23 21:33:20 +0000
committerAndrew Clayton <a.clayton@nginx.com>2023-03-28 23:15:28 +0100
commitcb99f1e11ffd20f71291903cf30f1a121801cd4e (patch)
tree3df9da54c3e32aaa3d4ce4ce12c49634fec2f650
parentd54e63d8dda8a859c16197f181a59e804d165eaf (diff)
downloadunit-cb99f1e11ffd20f71291903cf30f1a121801cd4e.tar.gz
unit-cb99f1e11ffd20f71291903cf30f1a121801cd4e.tar.bz2
Remove NXT_CONF_MAP_INT8.
This has been replaced by NXT_CONF_MAP_BOOL. Reviewed-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rw-r--r--src/nxt_conf.c1
-rw-r--r--src/nxt_conf.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/nxt_conf.c b/src/nxt_conf.c
index 9bb61396..a27eb9d6 100644
--- a/src/nxt_conf.c
+++ b/src/nxt_conf.c
@@ -608,7 +608,6 @@ nxt_conf_map_object(nxt_mp_t *mp, nxt_conf_value_t *value, nxt_conf_map_t *map,
switch (map[i].type) {
case NXT_CONF_MAP_BOOL:
- case NXT_CONF_MAP_INT8:
if (v->type == NXT_CONF_VALUE_BOOLEAN) {
ptr->ui8 = v->u.boolean;
diff --git a/src/nxt_conf.h b/src/nxt_conf.h
index 82bc2620..813a4a3c 100644
--- a/src/nxt_conf.h
+++ b/src/nxt_conf.h
@@ -40,7 +40,6 @@ typedef struct {
typedef enum {
NXT_CONF_MAP_BOOL,
- NXT_CONF_MAP_INT8,
NXT_CONF_MAP_INT32,
NXT_CONF_MAP_INT64,
NXT_CONF_MAP_INT,