Changeset: 4c2923d02dd2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4c2923d02dd2 Modified Files: sql/backends/monet5/vaults/gadget/gadget.c Branch: data-vaults Log Message:
Fix clang compilation error The break inside the loop should not be unconditional diffs (14 lines): diff --git a/sql/backends/monet5/vaults/gadget/gadget.c b/sql/backends/monet5/vaults/gadget/gadget.c --- a/sql/backends/monet5/vaults/gadget/gadget.c +++ b/sql/backends/monet5/vaults/gadget/gadget.c @@ -629,7 +629,9 @@ str gadgetListDirPat(Client cntxt, MalBl fclose(stream); snprintf(stmt, BUFSIZ, ATTACHDIR, fname); msg = SQLstatementIntern(cntxt, &s, "gadget.listofdirpat", TRUE, FALSE, NULL); - break; + if (msg != MAL_SUCCEED) { + break; + } } return msg; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list