diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 14:34:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 15:43:45 +0200 |
commit | 040204abd72108a9c72ad6cb56b19324d1a718d6 (patch) | |
tree | 56ad610ca8bf62208fd35ee1a913f960ac61a527 /sal | |
parent | 5f66de5c492168664992bcdc800506a330fe401a (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: Ia4444a059ed2b5349c39d87d60fd9875d0ab36f8
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index b391f69f3243..a99cc15b82fe 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -1446,11 +1446,11 @@ namespace osl_FileStatus // testDirectory is "/tmp/PID/tmpdir/" ::osl::Directory testDirectory( aTmpName3 ); - ::osl::FileBase::RC nError1 = testDirectory.open(); + testDirectory.open(); ::rtl::OUString aFileName ("link.file"); bool bOk = false; while (true) { - nError1 = testDirectory.getNextItem( rItem_link, 4 ); + osl::FileBase::RC nError1 = testDirectory.getNextItem( rItem_link, 4 ); if (::osl::FileBase::E_None == nError1) { sal_uInt32 mask_link = osl_FileStatus_Mask_FileName | osl_FileStatus_Mask_LinkTargetURL; ::osl::FileStatus rFileStatus( mask_link ); |