Remove useless variable assignment
[babeltrace.git] / 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.022737 seconds and 4 git commands to generate.