Remove useless variable assignment
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 May 2013 17:28:32 +0000 (13:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 May 2013 17:28:32 +0000 (13:28 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-visitor-generate-io-struct.c

index 626eb6bc03c44fdfd78ee9e3e00685c3c6094f5c..664d0af13f2c60faec9e63621c32e6e07cb7037c 100644 (file)
@@ -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;
                        }
                }
This page took 0.028545 seconds and 4 git commands to generate.