projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Uninitialized return value in bt_ctf_event_class_get_id
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event.c
diff --git
a/formats/ctf/ir/event.c
b/formats/ctf/ir/event.c
index ccf822a70d358c7f2e610014d40deecd265dcb9e..543ecb7f9dc3528e6a7d4d9d66afb5cc13ec298b 100644
(file)
--- a/
formats/ctf/ir/event.c
+++ b/
formats/ctf/ir/event.c
@@
-137,7
+137,7
@@
end:
int64_t bt_ctf_event_class_get_id(struct bt_ctf_event_class *event_class)
{
struct bt_object *obj = NULL;
- int64_t ret;
+ int64_t ret
= 0
;
if (!event_class) {
ret = -1;
This page took
0.024568 seconds
and
4
git commands to generate.