[PATCH 1/4] Remove couple of dead assignments (LLVM/Clang)
Nikolay Sivov
nsivov at codeweavers.com
Fri Feb 4 18:23:16 CST 2011
---
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;
}
--
1.5.6.5
--------------000901040002030402000304--
More information about the wine-patches
mailing list