Changeset: 730c581b447a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/730c581b447a Modified Files: sql/backends/monet5/sql_gencode.c Branch: Jul2021 Log Message:
no goto's needed as the label is just below. diffs (19 lines): diff --git a/sql/backends/monet5/sql_gencode.c b/sql/backends/monet5/sql_gencode.c --- a/sql/backends/monet5/sql_gencode.c +++ b/sql/backends/monet5/sql_gencode.c @@ -928,7 +928,6 @@ backend_dumpproc(backend *be, Client c, if (c->curprg->def->errors) { sql_error(m, 003, SQLSTATE(42000) "Internal error while compiling statement: %s", c->curprg->def->errors); res = -1; - goto cleanup; } // restore the context for the wrapper code @@ -1371,7 +1370,6 @@ backend_create_sql_func(backend *be, sql if (c->curprg->def->errors) { sql_error(m, 003, SQLSTATE(42000) "Internal error while compiling statement: %s", c->curprg->def->errors); res = -1; - goto cleanup; } cleanup: _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org