projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove dead code from filter interpreter
[lttng-ust.git]
/
liblttng-ust
/
lttng-filter-interpreter.c
diff --git
a/liblttng-ust/lttng-filter-interpreter.c
b/liblttng-ust/lttng-filter-interpreter.c
index 1f95dcf576b1c84fe53455ae3cc2fcf6b98187cb..3eee8e00a90564e0d100a292853dcca742ec61b3 100644
(file)
--- a/
liblttng-ust/lttng-filter-interpreter.c
+++ b/
liblttng-ust/lttng-filter-interpreter.c
@@
-72,16
+72,12
@@
int stack_strcmp(struct estack *stack, int top, const char *cmp_type)
}
}
if (unlikely(q - estack_ax(stack, top)->u.s.str >= estack_ax(stack, top)->u.s.seq_len || *q == '\0')) {
}
}
if (unlikely(q - estack_ax(stack, top)->u.s.str >= estack_ax(stack, top)->u.s.seq_len || *q == '\0')) {
- if (p - estack_bx(stack, top)->u.s.str >= estack_bx(stack, top)->u.s.seq_len || *p == '\0') {
- return 0;
- } else {
- if (estack_bx(stack, top)->u.s.literal) {
- ret = parse_char(&p);
- if (ret == -1)
- return 0;
- }
- return 1;
+ if (estack_bx(stack, top)->u.s.literal) {
+ ret = parse_char(&p);
+ if (ret == -1)
+ return 0;
}
}
+ return 1;
}
if (estack_bx(stack, top)->u.s.literal) {
ret = parse_char(&p);
}
if (estack_bx(stack, top)->u.s.literal) {
ret = parse_char(&p);
This page took
0.023597 seconds
and
4
git commands to generate.