virsh: Resolve Coverity DEADCODE

Use 'dead_error_condition' instead of 'dead_error_begin'
This commit is contained in:
John Ferlan 2015-09-23 18:11:30 -04:00
parent a36b0ad2d5
commit 35369a7d48

View File

@ -118,7 +118,7 @@ virshCatchDisconnect(virConnectPtr conn,
case VIR_CONNECT_CLOSE_REASON_KEEPALIVE:
str = N_("Disconnected from %s due to keepalive timeout");
break;
/* coverity[dead_error_begin] */
/* coverity[dead_error_condition] */
case VIR_CONNECT_CLOSE_REASON_CLIENT:
case VIR_CONNECT_CLOSE_REASON_LAST:
break;