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:
authorAndris Zeila <andris.zeila@zabbix.com>2022-06-20 11:58:38 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2022-06-20 11:58:38 +0300
commit9564628dad2e5db7a251a91432e1c72c6ab55b52 (patch)
tree661ec9bb3b9abdfcacc003bcae8976a66aaba9b4
parent2760a1fc3158712ba10aeb071ff7a82212f90e9b (diff)
........S. [ZBX-21145] fixed resetting of duplicate tag validation result
-rw-r--r--src/libs/zbxdbhigh/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxdbhigh/tag.c b/src/libs/zbxdbhigh/tag.c
index f8f16ff0f09..2215e1cf3e5 100644
--- a/src/libs/zbxdbhigh/tag.c
+++ b/src/libs/zbxdbhigh/tag.c
@@ -383,7 +383,7 @@ int zbx_merge_tags(zbx_vector_db_tag_ptr_t *dst, zbx_vector_db_tag_ptr_t *src, c
zbx_vector_db_tag_ptr_append_array(dst, src->values, src->values_num);
zbx_vector_db_tag_ptr_clear(src);
out:
- if (SUCCEED != (ret = check_tag_fields(dst, owner, error)))
+ if (SUCCEED != check_tag_fields(dst, owner, error))
ret = FAIL;
zbx_vector_db_tag_ptr_sort(dst, ZBX_DEFAULT_UINT64_PTR_COMPARE_FUNC);