projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git]
/
src
/
plugins
/
ctf
/
fs-src
/
fs.c
diff --git
a/src/plugins/ctf/fs-src/fs.c
b/src/plugins/ctf/fs-src/fs.c
index 375ca0f3d02d23796c32a6866414fbfd0c1d2494..e4eb385282ca7dc01916b395ddfe12dbdd6892b6 100644
(file)
--- a/
src/plugins/ctf/fs-src/fs.c
+++ b/
src/plugins/ctf/fs-src/fs.c
@@
-1683,7
+1683,7
@@
int merge_traces_with_same_uuid(struct ctf_fs_component *ctf_fs)
/* Clear any NULL slot (traces that got merged in another one) in the array. */
for (i = 0; i < traces->len;) {
/* Clear any NULL slot (traces that got merged in another one) in the array. */
for (i = 0; i < traces->len;) {
- if (
g_ptr_array_index(traces, i) == NULL
) {
+ if (
!g_ptr_array_index(traces, i)
) {
g_ptr_array_remove_index_fast(traces, i);
} else {
i++;
g_ptr_array_remove_index_fast(traces, i);
} else {
i++;
This page took
0.028915 seconds
and
4
git commands to generate.