Juan Lang juan_lang@yahoo.com writes:
I seriously doubt that, what compiler does this for you? It's much better practice to always add break to all cases, otherwise when someone adds some code at the end of the switch they will forget to add a break to the previous case.
This fills the whole buffer with zeroes, that's not really needed.
--- Alexandre Julliard julliard@winehq.org wrote:
MSVC at certain warning levels IIRC. But my memory is suspect.
Agreed, I prefer = "", but this is a WSTR so I can't do that.
--Juan
__________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail