Address some Coverity warnings

This commit is contained in:
matt335672
2025-01-13 14:57:15 +00:00
parent a0f1b65aee
commit 2a4b40a20c
4 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ libipm_msg_in_check_available(struct trans *trans, int *available)
enum libipm_status
libipm_msg_in_wait_available(struct trans *trans)
{
tbus wobj[1];
tbus wobj[2]; // trans_get_wait_objs() can return at most 2 elements
int ocnt = 0;
enum libipm_status rv = E_LI_SUCCESS;