Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extraneous parentheses in isAllowedChar() #63

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

yiting16
Copy link
Contributor

Issue #, if available:

Description of changes:
To fix a build warning below:

  warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
          else if( ( c == '/' ) )
                     ~~^~~~~~
  note: remove extraneous parentheses around the comparison to silence this warning
          else if( ( c == '/' ) )
                   ~~  ^      ~~
  note: use '=' to turn this equality comparison into an assignment
          else if( ( c == '/' ) )
                       ^~
                       =

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

To fix a build warning below:

  warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
          else if( ( c == '/' ) )
                     ~~^~~~~~
  note: remove extraneous parentheses around the comparison to silence this warning
          else if( ( c == '/' ) )
                   ~~  ^      ~~
  note: use '=' to turn this equality comparison into an assignment
          else if( ( c == '/' ) )
                       ^~
                       =

Signed-off-by: Yiting Wang <[email protected]>
@muneebahmed10 muneebahmed10 merged commit 7253b23 into aws:main Nov 22, 2021
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