mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 20:37:14 +00:00
Stage 8 of clang compiler warning patches.
This commit is contained in:
1 parent
e5c71a4179
commit
440a86d3f2
1 file changed
+18
-8
@@ -180,14 +180,24 @@
|
||||
cc = [self clientCapabilities];
|
||||
|
||||
b = (
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
&& [[cc userAgent] rangeOfString: @"Darwin"].location != NSNotFound
|
||||
|| (
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
|| [[cc userAgent] rangeOfString: @"Mac OS X"].location != NSNotFound
|
||||
)
|
||||
&& [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
|
||||
);
|
||||
(
|
||||
(
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
&& [[cc userAgent] rangeOfString: @"Darwin"].location != NSNotFound
|
||||
)
|
||||
||
|
||||
(
|
||||
[[cc userAgent] rangeOfString: @"CFNetwork"].location != NSNotFound
|
||||
&&
|
||||
(
|
||||
[[cc userAgent] rangeOfString: @"Mac OS X"].location != NSNotFound
|
||||
||
|
||||
[[cc userAgent] rangeOfString: @"Mac_OS_X"].location != NSNotFound
|
||||
)
|
||||
)
|
||||
)
|
||||
&& [[cc userAgent] rangeOfString: @"AddressBook"].location != NSNotFound
|
||||
);
|
||||
|
||||
return b;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user