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

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon May 27 23:38:48 EDT 2013


Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
---
 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




More information about the lttng-dev mailing list