summaryrefslogtreecommitdiff
path: root/scanner/expr_matcher/expr_matcher.cpp
diff options
context:
space:
mode:
authorroot <[email protected]>2024-09-26 11:14:06 +0000
committerroot <[email protected]>2024-09-26 11:14:06 +0000
commit3315428974cee35f0a3b052db6a22cba5c5f3f2f (patch)
tree881bba67590fb8f1f98927f9995d9502c8fc6244 /scanner/expr_matcher/expr_matcher.cpp
parentbe3b474f6921c9edb085e78316533577ab37e14f (diff)
add temp code
Diffstat (limited to 'scanner/expr_matcher/expr_matcher.cpp')
-rw-r--r--scanner/expr_matcher/expr_matcher.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scanner/expr_matcher/expr_matcher.cpp b/scanner/expr_matcher/expr_matcher.cpp
index 3311ffd..4b8360a 100644
--- a/scanner/expr_matcher/expr_matcher.cpp
+++ b/scanner/expr_matcher/expr_matcher.cpp
@@ -228,7 +228,6 @@ static struct bool_expr *bool_exprs_new(struct expr_rule *rules, size_t n_rule,
uuid_copy(bool_exprs[i].expr_uuid, rules[i].expr_uuid);
bool_exprs[i].item_num = rules[i].n_patterns;
- bool_exprs[i].user_tag = rules[i].tag;
}
return bool_exprs;
@@ -435,7 +434,6 @@ static int expr_matcher_bool_matcher_match(struct bool_matcher *bm, struct bool_
for (int index = 0; index < bool_matcher_ret; index++) {
uuid_copy(result_array[index].rule_uuid, match_buff[index].expr_uuid);
- result_array[index].user_tag = match_buff[index].user_tag;
}
*n_hit_result = bool_matcher_ret;