projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: usage of `bt_value_array_get_length()`
[babeltrace.git]
/
src
/
lib
/
lib-logging.c
diff --git
a/src/lib/lib-logging.c
b/src/lib/lib-logging.c
index 710aab62f780fbe1c367eb10b635faf2c460fb6f..ee11fad0ce5b0b682a0837f2acaf8dadf3b0c306 100644
(file)
--- a/
src/lib/lib-logging.c
+++ b/
src/lib/lib-logging.c
@@
-909,9
+909,8
@@
static inline void format_value(char **buf_ch, bool extended,
}
case BT_VALUE_TYPE_ARRAY:
{
- int64_t count = bt_value_array_get_length(value);
+
u
int64_t count = bt_value_array_get_length(value);
- BT_ASSERT(count >= 0);
BUF_APPEND(", %selement-count=%" PRId64, PRFIELD(count));
break;
}
This page took
0.029679 seconds
and
4
git commands to generate.