Skip to content

Make sure to always check return values.#840

Merged
clalancette merged 3 commits intomasterfrom
clalancette/check-ret
Oct 29, 2020
Merged

Make sure to always check return values.#840
clalancette merged 3 commits intomasterfrom
clalancette/check-ret

Conversation

@clalancette
Copy link
Copy Markdown
Contributor

Pointed out by clang static analysis, we should always
check these return values.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

@clalancette
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

looks good to me.

Pointed out by clang static analysis, we should always
check these return values.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette clalancette force-pushed the clalancette/check-ret branch from 25ac87d to f8a75fa Compare October 26, 2020 21:22
@clalancette
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM!

@clalancette
Copy link
Copy Markdown
Contributor Author

clalancette commented Oct 28, 2020

One more CI to make sure this is good, then I'll merge:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@clalancette
Copy link
Copy Markdown
Contributor Author

All of the failed tests on Windows also failed in the nightly, so this looks good. Merging.

@clalancette clalancette merged commit a9f9470 into master Oct 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the clalancette/check-ret branch October 29, 2020 12:15
ahcorde pushed a commit that referenced this pull request Oct 30, 2020
* Make sure to always check return values.

Pointed out by clang static analysis, we should always
check these return values.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
ahcorde pushed a commit that referenced this pull request Nov 2, 2020
* Make sure to always check return values.

Pointed out by clang static analysis, we should always
check these return values.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
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