Module: wine Branch: master Commit: b5ddadce6f98cca57abff52c0e0c746c10b8f0dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5ddadce6f98cca57abff52c0e...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sat Feb 5 03:23:16 2011 +0300
comctl32/listview: Remove couple of dead assignments (LLVM/Clang).
---
dlls/comctl32/listview.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 9588fa9..9c50f8c 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -1813,8 +1813,6 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L infoPtr->charCode = charCode; infoPtr->szSearchParam[0] = charCode; infoPtr->nSearchParamLength = 1; - /* redundant with the 1 char string */ - charCode = 0; }
/* and search from the current position */ @@ -3256,7 +3254,7 @@ static BOOL ranges_del(RANGES ranges, RANGE range) /* case 5: fully internal */ else { - RANGE tmprgn = *chkrgn, *newrgn; + RANGE *newrgn;
if (!(newrgn = Alloc(sizeof(RANGE)))) goto fail; newrgn->lower = chkrgn->lower; @@ -3267,7 +3265,6 @@ static BOOL ranges_del(RANGES ranges, RANGE range) Free(newrgn); goto fail; } - chkrgn = &tmprgn; break; }