John Ferlan
60b029c7a0
virsh: Resolve Coverity DEADCODE
...
Coverity points out that if 'dom' isn't returned from virDomainQemuAttach,
then the code already jumps to cleanup, so there was no need for the
subsequent if (dom != NULL) check.
I moved the error message about failure into the goto cleanup on failure
and then removed the if (dom != NULL)
Signed-off-by: John Ferlan <jferlan@redhat.com>
2014-09-11 08:10:13 -04:00
..
2014-07-16 12:07:24 +02:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2012-12-11 19:54:37 -05:00
2014-01-09 09:32:55 +01:00
2014-07-25 12:06:07 +02:00
2012-03-05 13:18:24 +01:00
2014-04-01 10:38:14 -06:00
2009-09-21 14:41:45 +01:00
2014-03-25 14:58:41 +01:00
2013-09-03 14:06:11 +02:00
2014-08-28 13:28:32 +02:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:10:13 -04:00
2014-08-26 22:48:05 +02:00
2014-09-11 08:03:37 -04:00
2014-09-04 14:34:03 -06:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2014-03-10 14:26:04 +01:00
2014-09-11 08:06:16 -04:00
2014-03-10 14:26:04 +01:00
2014-06-02 18:09:09 +02:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2012-09-20 16:30:55 -06:00
2014-05-16 00:22:18 -06:00
2012-09-20 16:30:55 -06:00
2014-09-11 08:03:37 -04:00
2012-09-20 16:30:55 -06:00
2014-08-20 14:50:21 +02:00
2012-09-20 16:30:55 -06:00
2014-09-09 08:19:02 -06:00
2014-09-05 13:13:23 -06:00
2014-09-10 09:37:34 +02:00
2013-07-10 11:07:31 +02:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2014-03-10 14:26:04 +01:00
2014-03-25 14:58:41 +01:00
2013-08-08 16:36:31 +01:00
2014-03-03 12:40:32 -07:00
2013-08-19 20:25:53 -06:00
2013-08-28 13:50:10 +02:00
2013-09-13 14:57:52 +02:00