dlls/comctl32/listview.c warning elimination

Alexandre Julliard julliard at winehq.org
Mon Oct 29 08:06:41 CDT 2007


Gerald Pfeifer <gerald at pfeifer.com> writes:

> Not a patch I am particularily proud of, but the best way I found to get 
> rid of
>
>   listview.c:5043: warning: 'strW' might be used uninitialized in this function
>
> issued by GCC, and apart from the added cast it actually is simpler than
> the original.

It was done the way it is precisely to avoid the non-const cast, which
triggers a warning too.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list