Event dead_error_line: Cannot reach this line of code
Event dead_error_condition: On this path, the condition "error == 1" could not 
be false
Also see events: [dead_error_condition][const][new_values]

863             error = (error == CS_OK ? 
res_lib_cpg_iterationnext->header.error : error);
864

Signed-off-by: Angus Salkeld <[email protected]>
---
  lib/cpg.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/cpg.c b/lib/cpg.c
index f031a95..bac9361 100644
--- a/lib/cpg.c
+++ b/lib/cpg.c
@@ -860,7 +860,7 @@ cs_error_t cpg_iteration_next(
                        description,
                        &res_lib_cpg_iterationnext->description);

-       error = (error == CS_OK ? res_lib_cpg_iterationnext->header.error : 
error);
+       error = res_lib_cpg_iterationnext->header.error;

        coroipcc_msg_send_reply_receive_in_buf_put(
                        cpg_iteration_instance->conn_handle);
-- 
1.6.2.5
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to