[Libreoffice-commits] .: extensions/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Jan 2 11:56:43 PST 2012


 extensions/source/update/check/updatecheckconfig.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit b052839d7bfa6632e9e6479a871ba417189973a8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 2 20:56:04 2012 +0100

    -Wunused-but-set-variable

diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index 256199e..932f302 100644
--- a/extensions/source/update/check/updatecheckconfig.cxx
+++ b/extensions/source/update/check/updatecheckconfig.cxx
@@ -236,8 +236,7 @@ rtl::OUString UpdateCheckConfig::getAllUsersDirectory()
     if( ! FAILED( SHGetSpecialFolderPathW( NULL, szPath, CSIDL_COMMON_DOCUMENTS, true ) ) )
     {
         aRet = rtl::OUString( reinterpret_cast< sal_Unicode * >(szPath) );
-        osl::FileBase::RC rc;
-        rc = osl::FileBase::getFileURLFromSystemPath( aRet, aRet );
+        osl::FileBase::getFileURLFromSystemPath( aRet, aRet );
     }
 #else
     osl::FileBase::getTempDirURL(aRet);


More information about the Libreoffice-commits mailing list