mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 04:46:37 +00:00
[RSHELL]
* Remove a few GCC unused-but-set-variable warnings. svn path=/branches/shell-experiments/; revision=65092
This commit is contained in:
parent
40a2e03359
commit
a3006f2401
2 changed files with 4 additions and 6 deletions
|
@ -417,14 +417,16 @@ LRESULT CALLBACK CDesktopBrowser::ProgmanWindowProc(IN HWND hwnd, IN UINT uMsg,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/* FIXME: Update work area */
|
||||||
|
#if 0
|
||||||
RECT rcDesktop;
|
RECT rcDesktop;
|
||||||
|
|
||||||
rcDesktop.left = GetSystemMetrics(SM_XVIRTUALSCREEN);
|
rcDesktop.left = GetSystemMetrics(SM_XVIRTUALSCREEN);
|
||||||
rcDesktop.top = GetSystemMetrics(SM_YVIRTUALSCREEN);
|
rcDesktop.top = GetSystemMetrics(SM_YVIRTUALSCREEN);
|
||||||
rcDesktop.right = GetSystemMetrics(SM_CXVIRTUALSCREEN);
|
rcDesktop.right = GetSystemMetrics(SM_CXVIRTUALSCREEN);
|
||||||
rcDesktop.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
|
rcDesktop.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
|
||||||
|
#endif
|
||||||
/* FIXME: Update work area */
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -396,12 +396,10 @@ LRESULT CMenuFocusManager::ProcessMouseDown(MSG* msg)
|
||||||
|
|
||||||
TRACE("MouseDown %d\n", m_isLButtonDown);
|
TRACE("MouseDown %d\n", m_isLButtonDown);
|
||||||
|
|
||||||
BOOL isTracking = FALSE;
|
|
||||||
if (entry)
|
if (entry)
|
||||||
{
|
{
|
||||||
ScreenToClient(child, &pt);
|
ScreenToClient(child, &pt);
|
||||||
iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
|
iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
|
||||||
isTracking = entry->mb->_IsTracking();
|
|
||||||
|
|
||||||
if (iHitTestResult >= 0)
|
if (iHitTestResult >= 0)
|
||||||
{
|
{
|
||||||
|
@ -448,12 +446,10 @@ LRESULT CMenuFocusManager::ProcessMouseUp(MSG* msg)
|
||||||
|
|
||||||
TRACE("MouseUp %d\n", m_isLButtonDown);
|
TRACE("MouseUp %d\n", m_isLButtonDown);
|
||||||
|
|
||||||
BOOL isTracking = FALSE;
|
|
||||||
if (entry)
|
if (entry)
|
||||||
{
|
{
|
||||||
ScreenToClient(child, &pt);
|
ScreenToClient(child, &pt);
|
||||||
iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
|
iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
|
||||||
isTracking = entry->mb->_IsTracking();
|
|
||||||
|
|
||||||
if (iHitTestResult >= 0)
|
if (iHitTestResult >= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue