Skip to content

Commit

Permalink
prov/shm: assert not valid atomic op
Browse files Browse the repository at this point in the history
Signed-off-by: Alexia Ingerson <alexia.ingerson@intel.com>
  • Loading branch information
aingerson committed Feb 21, 2023
1 parent 6d7770e commit 924f47b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prov/shm/src/smr_atomic.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ static void smr_format_inject_atomic(struct smr_cmd *cmd,
"atomic and compare buffer size mismatch\n");
break;
default:
assert(0);
break;
}
}
Expand Down Expand Up @@ -224,6 +225,7 @@ static ssize_t smr_generic_atomic(struct smr_ep *ep,
}
break;
default:
assert(0);
break;
}

Expand Down

0 comments on commit 924f47b

Please sign in to comment.