Ricardo Filipe : comctl32: Remove dead stores (llvm/clang).
Alexandre Julliard
julliard at winehq.org
Fri Nov 21 06:55:02 CST 2008
Module: wine
Branch: master
Commit: 66019452f4ef0bdca5c1c8c333b396d8116ad517
URL: http://source.winehq.org/git/wine.git/?a=commit;h=66019452f4ef0bdca5c1c8c333b396d8116ad517
Author: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date: Wed Nov 19 23:46:36 2008 +0000
comctl32: Remove dead stores (llvm/clang).
---
dlls/comctl32/toolbar.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 8e30df0..7972605 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -542,7 +542,7 @@ TOOLBAR_DrawArrow (HDC hdc, INT left, INT top, COLORREF clr)
MoveToEx (hdc, x, y, NULL);
LineTo (hdc, x+3, y++); x++;
MoveToEx (hdc, x, y, NULL);
- LineTo (hdc, x+1, y++);
+ LineTo (hdc, x+1, y);
SelectObject( hdc, hOldPen );
DeleteObject( hPen );
}
@@ -1151,7 +1151,7 @@ TOOLBAR_Refresh (HWND hwnd, HDC hdc, const PAINTSTRUCT *ps)
tbcd.nmcd.dwDrawStage = CDDS_POSTPAINT;
tbcd.nmcd.hdc = hdc;
tbcd.nmcd.rc = ps->rcPaint;
- ntfret = TOOLBAR_SendNotify(&tbcd.nmcd.hdr, infoPtr, NM_CUSTOMDRAW);
+ TOOLBAR_SendNotify(&tbcd.nmcd.hdr, infoPtr, NM_CUSTOMDRAW);
}
}
@@ -1426,7 +1426,6 @@ TOOLBAR_WrapToolbar( HWND hwnd, DWORD dwStyle )
TRACE("wrap point 5 btn %d style %02x, x=%d, cx=%d\n",
i, btnPtr[i].fsStyle, x, cx);
btnPtr[i].fsState |= TBSTATE_WRAP;
- bFound = TRUE;
x = infoPtr->nIndent;
if (btnPtr[i].fsStyle & BTNS_SEP )
bButtonWrap = FALSE;
More information about the wine-cvs
mailing list