diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:31:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:31:03 +0200 |
commit | e303d4b93cbe7ba9b96c9d274b83e88632f73073 (patch) | |
tree | b99c4d7d0e0282ee1c5be47c79d0198491208b1e /sal/qa | |
parent | loplugin:casttovoid: sax (diff) | |
download | core-e303d4b93cbe7ba9b96c9d274b83e88632f73073.tar.gz core-e303d4b93cbe7ba9b96c9d274b83e88632f73073.zip |
loplugin:casttovoid: sal
Change-Id: I70cf54799f08e3bc586d42d6c634eb02a049ea0f
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index a38bc3642c16..68df587690da 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -3143,8 +3143,7 @@ namespace osl_File { createTestFile(aTmpName6); File tmpFile(aTmpName6); - osl::FileBase::RC err = tmpFile.open(osl_File_OpenFlag_Write | osl_File_OpenFlag_Read); - (void)err; + tmpFile.open(osl_File_OpenFlag_Write | osl_File_OpenFlag_Read); tmpFile.setSize(200); tmpFile.close(); // copy to new path |