On Sat, Jul 2, 2016 at 3:04 AM, Bruce Evans <b...@optusnet.com.au> wrote:
> + .th_counter = &dummy_timecounter, >> + .th_scale = (uint64_t)-1 / 1000000, >> + .th_offset = {1, 0}, >> > > Is there a syntax for avoiding the explicit 0 in a nested initializer? > Something like th_offset.tv_sec = 1. C99 does not require complete initializers (though my habit of running with clang -Weverything does). Just .th_offset = {1} should give the desired result here. I did not think that .th_offset.tv_sec was valid, though, so when not-the-initial element is nonzero some zeros would still be needed. -Ben _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"