Skip to content

Commit 32f3110

Browse files
AlexanderGrissikgalnoam
authored andcommitted
issue: 4610737 Fix coverity lock warning
Add coverity ignore flag as for other stats sections. Signed-off-by: Alexander Grissik <[email protected]>
1 parent 5c7b4b9 commit 32f3110

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stats/stats_reader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ void print_entity_context_stats(entity_context_instance_block_t *p_ent_ctx_inst_
625625
"------------\n");
626626

627627
for (int i = 0; i < NUM_OF_SUPPORTED_ENTITY_CTX; i++) {
628+
// coverity[missing_lock:FALSE] /* Turn off coverity missing_lock check*/
628629
if (p_ent_ctx_inst_arr[i].b_enabled) {
629630
entity_context_stats_t &p_ent_ctx_stats = p_ent_ctx_inst_arr[i].entity_ctx_stats;
630631
int64_t tot_time = p_ent_ctx_stats.hit_poll_time + p_ent_ctx_stats.idle_time +

0 commit comments

Comments
 (0)