[PATCH 1/4] xmllite/writer: Handle initial and ready states in the rest of tested Write* methods
Dmitry Timoshkov
dmitry at baikal.ru
Thu Mar 24 02:49:28 CDT 2016
Nikolay Sivov <nsivov at 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.
More information about the wine-devel
mailing list