26 May
2008
26 May
'08
6:45 a.m.
2008/5/26 Dmitry Timoshkov <dmitry(a)codeweavers.com>:
"Kai Blin" <kai.blin(a)gmail.com> wrote:
+ {FROM_PROTOCOL_INFO, FROM_PROTOCOL_INFO}, };
Although it was the case before, it's a mistake to have a comma after the last struct member initializer.
It is? K&R seems to use both, so I preferred to keep it similar to all the other struct member initializers.
I said "a mistake" not "an error". Although the compiler forgives this, what the last comma is serving for?
The C standard explicitly allows the comma at the end of initializer lists, this would be a style issue at best.