From bf1bdbeb5cc91358e655bf2df28bbd2fba5347e7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 7 Aug 2017 08:08:43 +0200 Subject: loplugin:oncevar Change-Id: Id88149b2ebbf869474192cc22b862093db21aeb6 --- sal/osl/unx/file.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sal') diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 35d620813cfa..f2b594f8a3e6 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -798,9 +798,10 @@ static int osl_file_adjustLockFlags(const char *path, int flags) flags &= ~(O_EXLOCK | O_SHLOCK | O_NONBLOCK); } } -#endif /* MACOSX */ - +#else (void) path; +#endif + return flags; } -- cgit