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

Sonar fixes in IlmImf and IlmImfTest #577

Merged
merged 4 commits into from
Oct 7, 2019

Conversation

xlietz
Copy link
Contributor

@xlietz xlietz commented Oct 4, 2019

SonarCloud "bug" fixes in IlmImf and IlmImfTest:

  • remove unreachable 'break' statements.
  • remove unreachable 'return' statement.
  • edit macro to use a single instance of '#'
  • fix static analysis warning about possible null pointer dereference.

Signed-off-by: Christina Tempelaar-Lietz <xlietz@gmail.com>
Signed-off-by: Christina Tempelaar-Lietz <xlietz@gmail.com>
Signed-off-by: Christina Tempelaar-Lietz <xlietz@gmail.com>
Signed-off-by: Christina Tempelaar-Lietz <xlietz@gmail.com>
Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

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

LGTM

@xlietz xlietz merged commit bf1288d into AcademySoftwareFoundation:master Oct 7, 2019
@xlietz xlietz deleted the sonar-fixes branch October 7, 2019 03:15
@cary-ilm cary-ilm added this to the v2.5.0 milestone Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants