mapi32: Write-strings warnings fix

Hans Leidekker hans at it.vu.nl
Sat Jun 3 14:51:08 CDT 2006


On Saturday 03 June 2006 21:26, Andrew Talbot wrote:

>     subject = message->lpszSubject;
>     body = message->lpszNoteText;

That won't do either because these pointers are dereferenced a few lines
further down. 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



More information about the wine-devel mailing list