소스 검색

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 16 년 전
부모
커밋
870e4549df
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);