Changeset: 65d3137a8dcd for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=65d3137a8dcd Modified Files: clients/mapiclient/stethoscope.c sql/backends/monet5/UDF/pyapi/pyloader.c Branch: default Log Message:
Compilation fixes. diffs (27 lines): diff --git a/clients/mapiclient/stethoscope.c b/clients/mapiclient/stethoscope.c --- a/clients/mapiclient/stethoscope.c +++ b/clients/mapiclient/stethoscope.c @@ -139,7 +139,7 @@ convertOldFormat(char *inputfile) { FILE *fdin; char basefile[BUFSIZ]; char buf[BUFSIZ]={0}, *response = buf, *e; - int first = 0, i, n, len; + int first = 0, i = 0, n, len; EventRecord event; fprintf(stderr, "Converting a file to JSON\n"); diff --git a/sql/backends/monet5/UDF/pyapi/pyloader.c b/sql/backends/monet5/UDF/pyapi/pyloader.c --- a/sql/backends/monet5/UDF/pyapi/pyloader.c +++ b/sql/backends/monet5/UDF/pyapi/pyloader.c @@ -105,10 +105,10 @@ PYFUNCNAME(PyAPIevalLoader)(Client cntxt argnode = sqlfun && sqlfun->ops->cnt > 0 ? sqlfun->ops->h : NULL; for (i = pci->retc + 2; i < argcount; i++) { PyInput inp; + PyObject *val = NULL; inp.bat = NULL; inp.sql_subtype = NULL; - PyObject *val = NULL; if (!isaBatType(getArgType(mb, pci, i))) { inp.scalar = true; inp.bat_type = getArgType(mb, pci, i); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list