shlwapi: Cast-qual warnings fix (2 of 4)

Andrew Talbot A.J.Talbot at uel.ac.uk
Thu Nov 16 06:06:26 CST 2006


On Wed, November 15, 2006 5:02 pm, Andrew Talbot wrote:
> -  static const WCHAR szProperty[] = {
> +  static WCHAR szProperty[] = { '{','D','0','F','C','A','4','2','0',

If they aren't constant, shouldn't they be non-static too?

-- 
Dimi Paun <dimi at lattica.com
<http://www.winehq.org/mailman/listinfo/wine-devel> >
Lattica, Inc.

Hi Dimi,

As I understand it, declaring them static means that the storage will be
assigned and initialised at compile time, rather than run time, since the
size and contents are already known.

-- Andy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20061116/8543a0a3/attachment.htm


More information about the wine-devel mailing list