From c421ac3f9432f2e9468d28447dc4c2e45b6f4da3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Nov 2017 16:52:16 +0100 Subject: Revert loplugin:unnecessaryparen warning around integer literals ...as those may be used to silence Clang -Werror,-Wunreachable-code (as happens in sal/osl/unx/file_volume.cxx for Android, where OSL_detail_STATFS(...) always expands to (1)). Change-Id: I85d280c1315b4447362255d17f13f437d3c4af92 --- sal/osl/unx/file_volume.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') diff --git a/sal/osl/unx/file_volume.cxx b/sal/osl/unx/file_volume.cxx index 116874569b62..5dc41cc0f7ea 100644 --- a/sal/osl/unx/file_volume.cxx +++ b/sal/osl/unx/file_volume.cxx @@ -216,7 +216,7 @@ static oslFileError osl_psz_getVolumeInformation ( { OSL_detail_STATFS_STRUCT sfs; OSL_detail_STATFS_INIT(sfs); - if ((OSL_detail_STATFS(pszDirectory, &sfs)) < 0) + if ((OSL_detail_STATFS(pszDirectory, &sfs)) < (0)) { oslFileError result = oslTranslateFileError(errno); return result; -- cgit