]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
virsh: Resolve Coverity DEADCODE
authorJohn Ferlan <jferlan@redhat.com>
Wed, 23 Sep 2015 22:11:30 +0000 (18:11 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 24 Sep 2015 13:53:38 +0000 (09:53 -0400)
Use 'dead_error_condition' instead of 'dead_error_begin'

tools/virsh.c

index 76b5e9f9c7533d50944d8c993a66c2ddfa3732c3..7484bed8ebd55b6c3b0bf144119ba9ed026aa731 100644 (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;