Fix #742, make sure all pointers are checked for null#766
Fix #742, make sure all pointers are checked for null#766astrogeco merged 3 commits intonasa:integration-candidatefrom
Conversation
|
Note - we should not be doing pointer checks on internal functions - only those that are part of the public API. I took a glance at the proposed commit and I see it is adding checks to internal routines. This is inefficient and unnecessary - as the value should have been already checked in the public API it was called from. It is also my understanding that code standards only require it on externally-called functions. |
Concur. The coding standard applies to all the APIs. |
a375c4c to
a16e146
Compare
|
After removing all the internal checks this pull request is just a bunch of formatting fixes and changing comments to all use the same terminology. |
|
Can you add the BUGCHECKs in the void public APIs? That would close out the issue. |
a16e146 to
9d9b20a
Compare
Done |
CCB:2021-01-27 APPROVED with CHANGES
|
9d9b20a to
3b2c729
Compare
Describe the contribution
Fixes #742
Went through all the api's and made sure all pointers have a null check, or a comment stating that it can be null.
Fixes #765
Testing performed
Build and run unit test
Expected behavior changes
none
System(s) tested on
Ubuntu 20.04
Additional context
13 To Do left in here that will be fixed by #765
Contributor Info - All information REQUIRED for consideration of pull request
Alex Campbell GSFC