Changeset: 4e6640771b61 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/4e6640771b61 Modified Files: tools/merovingian/daemon/merovingian.c Branch: Jul2021 Log Message:
Don't use declaration right after a label. diffs (14 lines): diff --git a/tools/merovingian/daemon/merovingian.c b/tools/merovingian/daemon/merovingian.c --- a/tools/merovingian/daemon/merovingian.c +++ b/tools/merovingian/daemon/merovingian.c @@ -144,8 +144,9 @@ logFD(dpair dp, int fd, const char *type assert(fd == 0 || fd == 1); do { do { + ssize_t n; repeat: - ssize_t n = read(dp->input[fd].fd, buf + len, sizeof(buf) - len - 1); + n = read(dp->input[fd].fd, buf + len, sizeof(buf) - len - 1); if (n <= 0) break; len += n; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org