wininet: Initialize length of values that aren't being requested

Juan Lang juan.lang at gmail.com
Thu Nov 8 11:41:08 CST 2007


Alexandre, this is take 2 of "Fully initialize a variable" from
yesterday.  While avoid a non-portable construct is clearly a good
idea, do you really prefer all these assignments with NULL and 0?  It
seems memset really is more appropriate here.
--Juan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Initialize-length-of-values-that-aren-t-being-reques.patch
Type: text/x-patch
Size: 954 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071108/539e7ddb/attachment.bin 


More information about the wine-patches mailing list