projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctf.fs: bt_ctf_notif_iter_create(): assert() that all medops exist
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-visitor-semantic-validator.c
diff --git
a/formats/ctf/metadata/ctf-visitor-semantic-validator.c
b/formats/ctf/metadata/ctf-visitor-semantic-validator.c
index 13b2fc55adeb9a9b8b2207fb83ea06328aaa108f..96776a95f3cf05794b085e4310a383b24e830905 100644
(file)
--- a/
formats/ctf/metadata/ctf-visitor-semantic-validator.c
+++ b/
formats/ctf/metadata/ctf-visitor-semantic-validator.c
@@
-434,6
+434,9
@@
int _ctf_visitor_semantic_check(FILE *fd, int depth, struct ctf_node *node)
int ret = 0;
struct ctf_node *iter;
+ if (node->visited)
+ return 0;
+
switch (node->type) {
case NODE_ROOT:
bt_list_for_each_entry(iter, &node->u.root.declaration_list, siblings) {
This page took
0.024384 seconds
and
4
git commands to generate.