Sorry, that should have been posted to Xcode.

On 7/31/11 3:13 PM, "Gordon Apple" <g...@ed4u.com> wrote:
> The following expression generates a warning message (³&&² within ³||²) and
> says to include the ³anded² expression in parens.  Anybody who understands
> basic boolean operator precedence knows this is unnecessary.  Bug report?
> 
>     BOOL isInUse = [super mediaIsInUse];
>     isInUse = isInUse || [self videoIsOn] && ([[self capMgr] isRecording]
>                                               || [[self camVC] movieIsPlaying]
>                                               || [[self camVC]
> movieIsPaused]);
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to