mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-03 02:25:25 +00:00
Merge pull request #115 from ethoms/clang-warnings-stage8
Stage 8 of clang compiler warning patches.
This commit is contained in:
@@ -180,14 +180,21 @@
|
||||
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: @"AddressBook"].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