Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



> On Jan 25, 2021, at 6:22 AM, Kamil Rytarowski <kamil%netbsd.org@localhost> wrote:
> 
> I have no problem with this change but I am curious why should we use "{
> }"? It's a C GNU extension and C++ syntax.

Using { 0 } makes an assumption about the first member of the structure which is not guaranteed to remain true.

-- thorpej



Home | Main Index | Thread Index | Old Index