[lttng-dev] [PATCH babeltrace] Remove useless variable assignment

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue May 28 13:29:36 EDT 2013


* Jérémie Galarneau (jeremie.galarneau at efficios.com) wrote:
> Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>

merged, thanks!

Mathieu

> ---
>  formats/ctf/metadata/ctf-visitor-generate-io-struct.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/formats/ctf/metadata/ctf-visitor-generate-io-struct.c b/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
> index 626eb6b..664d0af 100644
> --- a/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
> +++ b/formats/ctf/metadata/ctf-visitor-generate-io-struct.c
> @@ -875,7 +875,6 @@ struct bt_declaration *ctf_declaration_struct_visit(FILE *fd,
>  			ret = get_unary_unsigned(min_align, &min_align_value);
>  			if (ret) {
>  				fprintf(fd, "[error] %s: unexpected unary expression for structure \"align\" attribute\n", __func__);
> -				ret = -EINVAL;
>  				goto error;
>  			}
>  		}
> -- 
> 1.8.2.3
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list