Re: [PATCH 1/4] xmllite/writer: Handle initial and ready states in the rest of tested Write* methods
March 24, 2016
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.
3655
Age (days ago)
3655
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov