comctl32: Remove a dead assignment in comctl32undoc.c (Cppcheck).
This commit is contained in:
parent
60db3a4a86
commit
197ea35c5a
|
@ -690,8 +690,8 @@ static HANDLE create_mru_list(LPWINEMRULIST mp)
|
|||
/* get values from key 'MRUList' */
|
||||
if (newkey) {
|
||||
datasize = (mp->extview.uMax + 1) * sizeof(WCHAR);
|
||||
if((err=RegQueryValueExW( newkey, strMRUList, 0, &type,
|
||||
(LPBYTE)mp->realMRU, &datasize))) {
|
||||
if (RegQueryValueExW( newkey, strMRUList, 0, &type,
|
||||
(LPBYTE)mp->realMRU, &datasize)) {
|
||||
/* not present - set size to 1 (will become 0 later) */
|
||||
datasize = 1;
|
||||
*mp->realMRU = 0;
|
||||
|
|
Loading…
Reference in New Issue