Changeset: dfce2635b0ef for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dfce2635b0ef Modified Files: common/stream/stream.c Branch: Oct2020 Log Message:
Get rid of "missing braces around initializer" warning It's correct, the braces are missing. diffs (12 lines): diff --git a/common/stream/stream.c b/common/stream/stream.c --- a/common/stream/stream.c +++ b/common/stream/stream.c @@ -86,7 +86,7 @@ get_tl_error_buf(void) p = malloc(sizeof(*p)); if (p == NULL) return NULL; - *p = (struct tl_error_buf) { .msg = 0 }; + *p = (struct tl_error_buf) { .msg = {0} }; pthread_setspecific(tl_error_key, p); struct tl_error_buf *second_attempt = pthread_getspecific(tl_error_key); assert(p == second_attempt /* maybe mnstr_init has not been called? */); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list