summaryrefslogtreecommitdiff
path: root/extensions/source/update
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-02 20:56:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-02 20:56:04 +0100
commitb052839d7bfa6632e9e6479a871ba417189973a8 (patch)
tree02d8e7f2a3dab7a71a16403fc933cab981c3fb94 /extensions/source/update
parentca343939c03551957433708836517eb37b62e523 (diff)
-Wunused-but-set-variable
Diffstat (limited to 'extensions/source/update')
-rw-r--r--extensions/source/update/check/updatecheckconfig.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index 256199e3bd38..932f30211049 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);