Bruno Jesus : comctl32: Remove dead assignment in tooltips.c (Cppcheck).

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 31 02:53:36 CDT 2014


Module: wine
Branch: master
Commit: a54c187886353bd7c6bcc6d43b85e1101a0627f4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a54c187886353bd7c6bcc6d43b85e1101a0627f4

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Fri Oct 31 00:17:34 2014 -0200

comctl32: Remove dead assignment in tooltips.c (Cppcheck).

---

 dlls/comctl32/tooltips.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index f74ea65..7564c3f 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -234,7 +234,7 @@ TOOLTIPS_customdraw_fill(const TOOLTIPS_INFO *infoPtr, NMTTCUSTOMDRAW *lpnmttcd,
 static inline DWORD
 TOOLTIPS_notify_customdraw (DWORD dwDrawStage, NMTTCUSTOMDRAW *lpnmttcd)
 {
-    LRESULT result = CDRF_DODEFAULT;
+    LRESULT result;
     lpnmttcd->nmcd.dwDrawStage = dwDrawStage;
 
     TRACE("Notifying stage %d, flags %x, id %x\n", lpnmttcd->nmcd.dwDrawStage,




More information about the wine-cvs mailing list