projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests to make check
[babeltrace.git]
/
converter
/
babeltrace.c
diff --git
a/converter/babeltrace.c
b/converter/babeltrace.c
index b24d0102fba72a7428be2f642ab22082ec687caf..d3fa02acf26cc7148e0e671d031aa927ea34dc8f 100644
(file)
--- a/
converter/babeltrace.c
+++ b/
converter/babeltrace.c
@@
-459,7
+459,6
@@
int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
GArray *trace_ids;
int ret = 0;
GArray *trace_ids;
int ret = 0;
- int i;
/* Should lock traversed_paths mutex here if used in multithread */
/* Should lock traversed_paths mutex here if used in multithread */
@@
-470,6
+469,8
@@
int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
/* Process the array if ntfw did not return a fatal error */
if (ret >= 0) {
/* Process the array if ntfw did not return a fatal error */
if (ret >= 0) {
+ int i;
+
for (i = 0; i < traversed_paths->len; i++) {
GString *trace_path = g_ptr_array_index(traversed_paths,
i);
for (i = 0; i < traversed_paths->len; i++) {
GString *trace_path = g_ptr_array_index(traversed_paths,
i);
This page took
0.023259 seconds
and
4
git commands to generate.