-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure to check typesupport handles against nullptr properly. (#119)
clang has a false-positive warning where it can't figure out that ASSERT_TRUE(foo != nullptr) means that the rest of the test is safe to dereference foo. Switching to ASSERT_NE(foo, nullptr) fixes the issue, so do that here. This should get rid of a number of warnings when building under clang static analysis. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
120f4d9
commit 34f6e4b
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters