summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-27 15:02:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-27 21:06:21 +0100
commit2eb0cadf0395c60198e36307222de3dd1e7729a6 (patch)
tree13de18915f50783714a90545bcae7480ddcfc978 /sal
parentc056f4ade7efec94d2cdc19c184486d834638df2 (diff)
loplugin:unnecessaryparen (clang-cl)
Change-Id: I5452235287fd5986de25ee542edd57bf1abded52 Reviewed-on: https://gerrit.libreoffice.org/45338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/socket.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx
index b3d1e9f52e63..a369d7ab8d87 100644
--- a/sal/osl/w32/socket.cxx
+++ b/sal/osl/w32/socket.cxx
@@ -1234,7 +1234,7 @@ sal_Bool SAL_CALL osl_isReceiveReady (
&fds, /* check read operations */
nullptr, /* check write ops */
nullptr, /* ckeck for OOB */
- (pTimeout) ? &tv : nullptr)==1); /* use timeout? */
+ pTimeout ? &tv : nullptr)==1); /* use timeout? */
}
/*****************************************************************************/
@@ -1263,7 +1263,7 @@ sal_Bool SAL_CALL osl_isSendReady (
nullptr, /* check read operations */
&fds, /* check write ops */
nullptr, /* ckeck for OOB */
- (pTimeout) ? &tv : nullptr)==1); /* use timeout? */
+ pTimeout ? &tv : nullptr)==1); /* use timeout? */
}
sal_Bool SAL_CALL osl_isExceptionPending (
@@ -1289,7 +1289,7 @@ sal_Bool SAL_CALL osl_isExceptionPending (
nullptr, /* check read operations */
nullptr, /* check write ops */
&fds, /* ckeck for OOB */
- (pTimeout) ? &tv : nullptr)==1); /* use timeout? */
+ pTimeout ? &tv : nullptr)==1); /* use timeout? */
}
sal_Bool SAL_CALL osl_shutdownSocket (