* [PATCH lttng-tool] Fix: mi: logically dead code, missing ret assignment
@ 2014-07-28 19:50 Jonathan Rajotte Julien
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Rajotte Julien @ 2014-07-28 19:50 UTC (permalink / raw)
To: lttng-dev
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
---
src/bin/lttng/commands/list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c
index 210c2f4..956b62e 100644
--- a/src/bin/lttng/commands/list.c
+++ b/src/bin/lttng/commands/list.c
@@ -748,7 +748,7 @@ static int mi_list_kernel_events(struct lttng_event *events, int count,
}
for (i = 0; i < count; i++) {
- mi_lttng_event(writer, &events[i], 0);
+ ret = mi_lttng_event(writer, &events[i], 0);
if (ret) {
goto end;
}
--
2.0.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH lttng-tool] Fix: mi: logically dead code, missing ret assignment
[not found] <1406577028-7152-1-git-send-email-jonathan.r.julien@gmail.com>
@ 2014-07-29 14:09 ` David Goulet
0 siblings, 0 replies; 2+ messages in thread
From: David Goulet @ 2014-07-29 14:09 UTC (permalink / raw)
To: Jonathan Rajotte Julien; +Cc: lttng-dev
[-- Attachment #1.1: Type: text/plain, Size: 898 bytes --]
Merged
On 28 Jul (15:50:28), Jonathan Rajotte Julien wrote:
> Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
> ---
> src/bin/lttng/commands/list.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c
> index 210c2f4..956b62e 100644
> --- a/src/bin/lttng/commands/list.c
> +++ b/src/bin/lttng/commands/list.c
> @@ -748,7 +748,7 @@ static int mi_list_kernel_events(struct lttng_event *events, int count,
> }
>
> for (i = 0; i < count; i++) {
> - mi_lttng_event(writer, &events[i], 0);
> + ret = mi_lttng_event(writer, &events[i], 0);
> if (ret) {
> goto end;
> }
> --
> 2.0.0
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 603 bytes --]
[-- Attachment #2: Type: text/plain, Size: 155 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-29 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28 19:50 [PATCH lttng-tool] Fix: mi: logically dead code, missing ret assignment Jonathan Rajotte Julien
[not found] <1406577028-7152-1-git-send-email-jonathan.r.julien@gmail.com>
2014-07-29 14:09 ` David Goulet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.