Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktors Tjarve <viktors.tjarve@zabbix.com>2020-10-28 18:38:21 +0300
committerViktors Tjarve <viktors.tjarve@zabbix.com>2020-10-28 18:39:07 +0300
commite8fae347066bdf445c9eef5e70661c6021d31cee (patch)
treec18130ed532d0f846a2d2ce21433f42fec2629cb /tests/libs/zbxjson
parent891c359297aae09723fc902bd4cb69e86264b762 (diff)
...G...PS. [DEV-1722] removed redundant ZBX_FALLTHROUGH statements
Merge in ZBX/zabbix from feature/DEV-1722-5.2 to release/5.2 * commit '0d0794e7e592c975b1d0a871394ac3c15e6b8a33': ...G...PS. [DEV-1722] removed redundant ZBX_FALLTHROUGH statement (cherry picked from commit e5f2cd73145e6fdd41b5edc869c521bc2d068f79)
Diffstat (limited to 'tests/libs/zbxjson')
-rw-r--r--tests/libs/zbxjson/zbx_jsonpath_compile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/libs/zbxjson/zbx_jsonpath_compile.c b/tests/libs/zbxjson/zbx_jsonpath_compile.c
index 6f24859aed2..14e275aa878 100644
--- a/tests/libs/zbxjson/zbx_jsonpath_compile.c
+++ b/tests/libs/zbxjson/zbx_jsonpath_compile.c
@@ -51,11 +51,8 @@ static void jsonpath_token_print(char **data, size_t *data_alloc, size_t *data_o
switch (token->type)
{
case ZBX_JSONPATH_TOKEN_PATH_ABSOLUTE:
- ZBX_FALLTHROUGH;
case ZBX_JSONPATH_TOKEN_PATH_RELATIVE:
- ZBX_FALLTHROUGH;
case ZBX_JSONPATH_TOKEN_CONST_STR:
- ZBX_FALLTHROUGH;
case ZBX_JSONPATH_TOKEN_CONST_NUM:
zbx_strcpy_alloc(data, data_alloc, data_offset, token->data);
break;