projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Uninitialized ret code
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
consumer.c
diff --git
a/src/bin/lttng-sessiond/consumer.c
b/src/bin/lttng-sessiond/consumer.c
index 061ec1219c90ad5ef3bd0ea4e217424927864358..1e20948887b1f889ae67bb81e3e844499edef869 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.c
+++ b/
src/bin/lttng-sessiond/consumer.c
@@
-707,7
+707,7
@@
int consumer_is_data_available(unsigned int id,
struct consumer_output *consumer)
{
int ret;
- int32_t ret_code
;
+ int32_t ret_code
= 1; /* Default is that the data is available */
struct consumer_socket *socket;
struct lttng_ht_iter iter;
struct lttcomm_consumer_msg msg;
This page took
0.023986 seconds
and
4
git commands to generate.