Commit 197ea35c authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

comctl32: Remove a dead assignment in comctl32undoc.c (Cppcheck).

parent 60db3a4a
......@@ -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;
......
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