projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ir: add bt_ctf_field_string_append()
[babeltrace.git]
/
lib
/
iterator.c
diff --git
a/lib/iterator.c
b/lib/iterator.c
index d2464ab7c4f8274e2fadee6e70a6f8a51f76dcc4..540d5e9bcf04b6ba46ca99c2a66db9ec7e31ec74 100644
(file)
--- a/
lib/iterator.c
+++ b/
lib/iterator.c
@@
-720,7
+720,7
@@
int bt_iter_init(struct bt_iter *iter,
int i;
int ret = 0;
int i;
int ret = 0;
- if (!iter || !ctx)
+ if (!iter || !ctx
|| !ctx->tc || !ctx->tc->array
)
return -EINVAL;
if (ctx->current_iterator) {
return -EINVAL;
if (ctx->current_iterator) {
This page took
0.028463 seconds
and
4
git commands to generate.