We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The checks if (nb_handle) imply that this argument can be NULL. However, SAMECLUSNODE unconditionally dereferences this pointer, so it cannot be NULL.
if (nb_handle)
NULL
SAMECLUSNODE
This code should be cleaned up to do at most one NULL check on the argument. I might work on this at some point.
int PARMCI_Wait(armci_hdl_t* usr_hdl) { armci_ihdl_t nb_handle = (armci_ihdl_t)usr_hdl; int success=0; int direct = SAMECLUSNODE(nb_handle->proc); if(direct) { return(success); } if(nb_handle) { if(nb_handle->agg_flag) { armci_agg_complete(nb_handle, UNSET); return (success); } } if(nb_handle){
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The checks
if (nb_handle)
imply that this argument can beNULL
. However,SAMECLUSNODE
unconditionally dereferences this pointer, so it cannot beNULL
.This code should be cleaned up to do at most one
NULL
check on the argument. I might work on this at some point.The text was updated successfully, but these errors were encountered: