Re: [PATCH 1/4] xmllite/writer: Handle initial and ready states in the rest of tested Write* methods
24 Mar
2016
24 Mar
'16
7:49 a.m.
Nikolay Sivov <nsivov(a)codeweavers.com> wrote:
+ switch (This->state) + { + case XmlWriterState_Initial: + return E_UNEXPECTED; + case XmlWriterState_DocClosed: + return WR_E_INVALIDACTION; + default: + ; + }
What's wrong with explicit 'break;' instead of weird ';'? -- Dmitry.
3553
Age (days ago)
3553
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov