mapi32: Write-strings warnings fix
Andrew.Talbot at talbotville.com
Sat Jun 3 17:27:17 CDT 2006
Hans Leidekker wrote:
> [...] How about this patch?
> - char *address = "", *to = NULL, *cc = NULL, *bcc = NULL, *subject,
> + char *to = NULL, *cc = NULL, *bcc = NULL;
> + const char *subject, *body, *address = "";
Because of the testing:
if (!message) return MAPI_E_FAILURE;
WARN("No recipients found\n");
address = message->lpRecips[i].lpszAddress;
would it be safe to omit the initialization of "address"?
More information about the wine-devel