Skip to content

Conversation

@metaremi
Copy link

@metaremi metaremi commented May 6, 2025

Description

replaced | with || in boolean logic, avoiding compiler warnings and possible bug.

Related Issue

Motivation and Context

fixes compilation warning reported with -Wbitwise-instead-of-logical

How Has This Been Tested?

no change in behavior

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

remplaced | with || in bolean logic, avoiding compiler warnings and possible bug.
@JuneMeta
Copy link

image

Confirm that CLA was submitted March 26th 2025

@JuneMeta
Copy link

@kwblackstone Hi can you help take a look? Thank you!

Copy link
Contributor

@jakes-adobe jakes-adobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, @metaremi, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants