projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix set but no use variables warnings
[lttng-tools.git]
/
ltt-sessiond
/
main.c
diff --git
a/ltt-sessiond/main.c
b/ltt-sessiond/main.c
index 78f916a854f11f06139138a04c4dd35f6d60556f..8507523d353ed89aed861fc3daacc4cae7437f76 100644
(file)
--- a/
ltt-sessiond/main.c
+++ b/
ltt-sessiond/main.c
@@
-1118,7
+1118,7
@@
error:
*/
static int start_kernel_trace(struct ltt_kernel_session *session)
{
*/
static int start_kernel_trace(struct ltt_kernel_session *session)
{
- int ret;
+ int ret
= 0
;
if (session->kconsumer_fds_sent == 0) {
ret = send_kconsumerd_fds(kconsumerd_cmd_sock, session);
if (session->kconsumer_fds_sent == 0) {
ret = send_kconsumerd_fds(kconsumerd_cmd_sock, session);
@@
-1246,7
+1246,7
@@
static void list_lttng_sessions(struct lttng_session *sessions)
*/
static int process_client_msg(struct command_ctx *cmd_ctx)
{
*/
static int process_client_msg(struct command_ctx *cmd_ctx)
{
- int ret;
+ int ret
= LTTCOMM_OK
;
DBG("Processing client command %d", cmd_ctx->lsm->cmd_type);
DBG("Processing client command %d", cmd_ctx->lsm->cmd_type);
This page took
0.024137 seconds
and
4
git commands to generate.