mapi32: Write-strings warnings fix

Hans Leidekker hans at it.vu.nl
Sun Jun 4 05:47:52 CDT 2006


On Sunday 04 June 2006 11:45, Andrew Talbot wrote:

> I am sorry to make such a meal of this

Don't be sorry. I like your persistence.

> What I am saying is, because of all the checking code which follows, can we
> be confident that every message->lpRecips[i].lpszAddress must have gained a
> value, and therefore just write
>
>     const char *address;
>
> for "address", without the empty-string initial assignment?

I see what you mean now, yes address doesn't have to be initialised, there's
no way it could be used uninitialised in this code.

 -Hans



More information about the wine-devel mailing list