projects
/
deliverable
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d1612
)
bt_value_get_type(): not a warning if value is NULL
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Wed, 31 May 2017 13:32:53 +0000
(09:32 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 20:58:13 +0000
(16:58 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/values.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/values.c
b/lib/values.c
index 65f53ebc9eace7942283b1a6a682d43acaeeda4c..8ddbe7de55638cb2bfc7f6ad5d93fc751eacaaad 100644
(file)
--- a/
lib/values.c
+++ b/
lib/values.c
@@
-566,7
+566,11
@@
bt_bool bt_value_is_frozen(const struct bt_value *object)
enum bt_value_type bt_value_get_type(const struct bt_value *object)
{
if (!object) {
- BT_LOGW_STR("Invalid parameter: value object is NULL.");
+ /*
+ * Not an error: user can test NULL value object with
+ * this function.
+ */
+ BT_LOGV_STR("Value object is NULL.");
return BT_VALUE_TYPE_UNKNOWN;
}
This page took
0.024248 seconds
and
5
git commands to generate.