summaryrefslogtreecommitdiff
path: root/sal/osl/unx/file.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:31:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:31:03 +0200
commite303d4b93cbe7ba9b96c9d274b83e88632f73073 (patch)
treeb99c4d7d0e0282ee1c5be47c79d0198491208b1e /sal/osl/unx/file.cxx
parent592ab6435b22f7d1a0d9d940ccc32059fed05b87 (diff)
loplugin:casttovoid: sal
Change-Id: I70cf54799f08e3bc586d42d6c634eb02a049ea0f
Diffstat (limited to 'sal/osl/unx/file.cxx')
-rw-r--r--sal/osl/unx/file.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index 0452f2dfac7f..7225b9326b6b 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -818,8 +818,9 @@ static bool osl_file_queryLocking(sal_uInt32 uFlags)
// getenv is not thread safe, so minimize use of result
return enabled;
}
-#endif
+#else
(void) uFlags;
+#endif
return false;
}