Kaydet (Commit) 5c1e188a authored tarafından David Tardon's avatar David Tardon

WaE: suggest parentheses around '&&' within '||'

üst 2a951757
...@@ -75,8 +75,8 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_initialize(int argc, char ** argv) ...@@ -75,8 +75,8 @@ SAL_DLLPUBLIC void SAL_CALL sal_detail_initialize(int argc, char ** argv)
WORD wMinorVersionRequired = 1; WORD wMinorVersionRequired = 1;
if ((LOBYTE(wsaData.wVersion) < wMajorVersionRequired) || if ((LOBYTE(wsaData.wVersion) < wMajorVersionRequired) ||
(LOBYTE(wsaData.wVersion) == wMajorVersionRequired) && ((LOBYTE(wsaData.wVersion) == wMajorVersionRequired) &&
((HIBYTE(wsaData.wVersion) < wMinorVersionRequired))) ((HIBYTE(wsaData.wVersion) < wMinorVersionRequired))))
{ {
// How to handle a very unlikely error ??? // How to handle a very unlikely error ???
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment