Commit b5ddadce authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/listview: Remove couple of dead assignments (LLVM/Clang).

parent 5f3ff658
...@@ -1813,8 +1813,6 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L ...@@ -1813,8 +1813,6 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L
infoPtr->charCode = charCode; infoPtr->charCode = charCode;
infoPtr->szSearchParam[0] = charCode; infoPtr->szSearchParam[0] = charCode;
infoPtr->nSearchParamLength = 1; infoPtr->nSearchParamLength = 1;
/* redundant with the 1 char string */
charCode = 0;
} }
/* and search from the current position */ /* and search from the current position */
...@@ -3256,7 +3254,7 @@ static BOOL ranges_del(RANGES ranges, RANGE range) ...@@ -3256,7 +3254,7 @@ static BOOL ranges_del(RANGES ranges, RANGE range)
/* case 5: fully internal */ /* case 5: fully internal */
else else
{ {
RANGE tmprgn = *chkrgn, *newrgn; RANGE *newrgn;
if (!(newrgn = Alloc(sizeof(RANGE)))) goto fail; if (!(newrgn = Alloc(sizeof(RANGE)))) goto fail;
newrgn->lower = chkrgn->lower; newrgn->lower = chkrgn->lower;
...@@ -3267,7 +3265,6 @@ static BOOL ranges_del(RANGES ranges, RANGE range) ...@@ -3267,7 +3265,6 @@ static BOOL ranges_del(RANGES ranges, RANGE range)
Free(newrgn); Free(newrgn);
goto fail; goto fail;
} }
chkrgn = &tmprgn;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment