Hans Leidekker wrote:
> [...] How about this patch?
>
> - char *address = "", *to = NULL, *cc = NULL, *bcc = NULL, *subject,
> *body;
> + char *to = NULL, *cc = NULL, *bcc = NULL;
> + const char *subject, *body, *address = "";
>
> -Hans
Because of the testing:
if (!message) return MAPI_E_FAILURE;
and
if (!message->lpRecips)
{
WARN("No recipients found\n");
return MAPI_E_FAILURE;
}
before
address = message->lpRecips[i].lpszAddress;
if (address)
{
would it be safe to omit the initialization of "address"?
-- Andy.