Re: dlls/comctl32/listview.c warning elimination

2007-12-09 Thread Gerald Pfeifer
On Sun, 4 Nov 2007, Gerald Pfeifer wrote: The only patch I can think of that avoid *both* warnings is the one below. Not perfect, but I fair compromise. What do you think? Or do you have any better idea that we might want to try? For the record, your fix that you committed yesterday

Re: dlls/comctl32/listview.c warning elimination

2007-11-04 Thread Gerald Pfeifer
On Mon, 29 Oct 2007, Alexandre Julliard wrote: 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

Re: dlls/comctl32/listview.c warning elimination

2007-10-29 Thread Alexandre Julliard
Gerald Pfeifer [EMAIL PROTECTED] 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.