Bruno Jesus : comctl32: Remove a dead assignment in comctl32undoc.c ( Cppcheck).
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 31 02:53:36 CDT 2014
Module: wine
Branch: master
Commit: 197ea35c5a0f140d4cedd24c754f9eb83afc1ac0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=197ea35c5a0f140d4cedd24c754f9eb83afc1ac0
Author: Bruno Jesus <00cpxxx at gmail.com>
Date: Thu Oct 30 23:41:01 2014 -0200
comctl32: Remove a dead assignment in comctl32undoc.c (Cppcheck).
---
dlls/comctl32/comctl32undoc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index f20857c..97bbf1a 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -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;
More information about the wine-cvs
mailing list