[RSHELL]
authorDavid Quintana <gigaherz@gmail.com>
Tue, 28 Oct 2014 22:13:18 +0000 (22:13 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Tue, 28 Oct 2014 22:13:18 +0000 (22:13 +0000)
* Remove a few GCC unused-but-set-variable warnings.

svn path=/branches/shell-experiments/; revision=65092

base/shell/rshell/CDesktopBrowser.cpp
base/shell/rshell/CMenuFocusManager.cpp

index acffbd2..928d0ee 100644 (file)
@@ -417,14 +417,16 @@ LRESULT CALLBACK CDesktopBrowser::ProgmanWindowProc(IN HWND hwnd, IN UINT uMsg,
             }
             else
             {
             }
             else
             {
+
+                /* FIXME: Update work area */
+#if 0
                 RECT rcDesktop;
 
                 rcDesktop.left = GetSystemMetrics(SM_XVIRTUALSCREEN);
                 rcDesktop.top = GetSystemMetrics(SM_YVIRTUALSCREEN);
                 rcDesktop.right = GetSystemMetrics(SM_CXVIRTUALSCREEN);
                 rcDesktop.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
                 RECT rcDesktop;
 
                 rcDesktop.left = GetSystemMetrics(SM_XVIRTUALSCREEN);
                 rcDesktop.top = GetSystemMetrics(SM_YVIRTUALSCREEN);
                 rcDesktop.right = GetSystemMetrics(SM_CXVIRTUALSCREEN);
                 rcDesktop.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
-
-                /* FIXME: Update work area */
+#endif
             }
             break;
 
             }
             break;
 
index 598a112..36ef3d0 100644 (file)
@@ -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)
     {
         ScreenToClient(child, &pt);
         iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
     if (entry)
     {
         ScreenToClient(child, &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)
     {
         ScreenToClient(child, &pt);
         iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
     if (entry)
     {
         ScreenToClient(child, &pt);
         iHitTestResult = SendMessageW(child, TB_HITTEST, 0, (LPARAM) &pt);
-        isTracking = entry->mb->_IsTracking();
 
         if (iHitTestResult >= 0)
         {
 
         if (iHitTestResult >= 0)
         {