[PATCH 1/6] [cppchecker] unreadVar warning - deletion of unneded variable

Pierre-André Jacquod pjacquod at alumni.ethz.ch
Fri Sep 9 11:55:53 PDT 2011


---
 fpicker/source/win32/filepicker/previewadapter.cxx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fpicker/source/win32/filepicker/previewadapter.cxx b/fpicker/source/win32/filepicker/previewadapter.cxx
index 51eb8b5..fcd7ea3 100644
--- a/fpicker/source/win32/filepicker/previewadapter.cxx
+++ b/fpicker/source/win32/filepicker/previewadapter.cxx
@@ -317,11 +317,11 @@ void SAL_CALL CPreviewAdapterImpl::rearrangeLayout()
 
         // resize the filelistbox to the half of the
         // available space
-        bool bRet = SetWindowPos(flb_new,
+        SetWindowPos(flb_new,
             NULL, 0, 0, cx, height,
             SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
 
-        bRet = SetWindowPos(flb_old,
+        SetWindowPos(flb_old,
             NULL, 0, 0, cx, height,
             SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
 
-- 
1.7.3.4


--------------000904010106030702050302--


More information about the LibreOffice mailing list