summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-08 22:26:44 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-08 22:51:59 +0100
commit8c27bd9b14715c05d66eaa5e0ef10a6c926c8c1f (patch)
tree39fee5aa25ed852b70e7d514df2f7eae01e4cadc /sal/osl
parenta4547696d272588374fd391233626df986275870 (diff)
Some cppcheck cleaning
Change-Id: I1dc8415569f7133d57c495e47f038e98d50d64d7
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/file_misc.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx
index 3fd211971fb0..b91d8030d770 100644
--- a/sal/osl/unx/file_misc.cxx
+++ b/sal/osl/unx/file_misc.cxx
@@ -731,9 +731,7 @@ oslFileError SAL_CALL osl_removeFile( rtl_uString* ustrFileURL )
static oslFileError oslDoMoveFile( const sal_Char* pszPath, const sal_Char* pszDestPath)
{
- oslFileError tErr=osl_File_E_invalidError;
-
- tErr = osl_psz_moveFile(pszPath,pszDestPath);
+ oslFileError tErr = osl_psz_moveFile(pszPath,pszDestPath);
if ( tErr == osl_File_E_None )
{
return tErr;