Explorar o código

COVERITY 11: remove dead code from cpg_iteration_next().


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2545 fd59a12c-fef9-0310-b244-a6a79926bd2f
Angus Salkeld %!s(int64=16) %!d(string=hai) anos
pai
achega
870e4549df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/cpg.c

+ 1 - 1
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);