提交 35369a7d 编写于 作者: J John Ferlan

virsh: Resolve Coverity DEADCODE

Use 'dead_error_condition' instead of 'dead_error_begin'
上级 a36b0ad2
...@@ -118,7 +118,7 @@ virshCatchDisconnect(virConnectPtr conn, ...@@ -118,7 +118,7 @@ virshCatchDisconnect(virConnectPtr conn,
case VIR_CONNECT_CLOSE_REASON_KEEPALIVE: case VIR_CONNECT_CLOSE_REASON_KEEPALIVE:
str = N_("Disconnected from %s due to keepalive timeout"); str = N_("Disconnected from %s due to keepalive timeout");
break; break;
/* coverity[dead_error_begin] */ /* coverity[dead_error_condition] */
case VIR_CONNECT_CLOSE_REASON_CLIENT: case VIR_CONNECT_CLOSE_REASON_CLIENT:
case VIR_CONNECT_CLOSE_REASON_LAST: case VIR_CONNECT_CLOSE_REASON_LAST:
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册