Those are inaccurately rejected by the parser due to this bug. This
affects environment variables and loglevel values.

Signed-off-by: Mathieu Desnoyers <[email protected]>
---
 formats/ctf/metadata/ctf-visitor-generate-io-struct.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/formats/ctf/metadata/ctf-visitor-generate-io-struct.c 
b/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
index 4b17198..1831b2d 100644
--- a/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
+++ b/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
@@ -219,7 +219,6 @@ int get_unary_signed(struct bt_list_head *head, int64_t 
*value)
 
        bt_list_for_each_entry(node, head, siblings) {
                if (node->type != NODE_UNARY_EXPRESSION
-                               || node->u.unary_expression.type != 
UNARY_UNSIGNED_CONSTANT
                                || (node->u.unary_expression.type != 
UNARY_UNSIGNED_CONSTANT && node->u.unary_expression.type != 
UNARY_SIGNED_CONSTANT)
                                || node->u.unary_expression.link != 
UNARY_LINK_UNKNOWN
                                || i != 0)
-- 
2.1.4


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to