[PATCH] record-client.c: Ignore return value from visit()
Ryan Long
ryan.long at oarcorp.com
Wed Sep 29 14:28:44 UTC 2021
CID 1503011: Unchecked return value in resolve_hold_back().
Closes #4423
---
trace/record/record-client.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/trace/record/record-client.c b/trace/record/record-client.c
index e1365fe..edc4ab3 100644
--- a/trace/record/record-client.c
+++ b/trace/record/record-client.c
@@ -192,7 +192,8 @@ static void resolve_hold_back(
const rtems_record_item_64 *item;
item = &per_cpu->items[ index ];
- visit( ctx, item->event, item->data );
+
+ (void) visit( ctx, item->event, item->data );
}
}
}
--
1.8.3.1
More information about the devel
mailing list