Peter Krempa
426369ebfa
virsh: cmdAttachDisk: Refactor control flow
...
Remove the unnecessary 'cleanup:' label since we can directly return as
the memory clearing is now automated.
We can also remove the 'functionReturn' variable and use the usual
pattern of returning success.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-11-23 14:44:39 +01:00
..
2020-11-10 18:34:18 +01:00
2020-09-02 10:28:10 +02:00
2020-10-07 19:17:53 +02:00
2020-11-04 12:18:05 +01:00
2020-04-03 11:50:35 +02:00
2020-09-01 13:22:24 +02:00
2020-09-14 15:52:40 +02:00
2020-11-09 16:29:06 +00:00
2020-09-15 13:46:11 +02:00
2020-11-10 18:34:33 +01:00
2020-11-10 18:34:33 +01:00
2020-11-10 18:34:02 +01:00
2020-11-10 18:34:02 +01:00
2020-11-10 18:34:11 +01:00
2020-11-10 18:34:11 +01:00
2020-11-10 18:34:23 +01:00
2020-11-10 18:34:23 +01:00
2020-09-15 13:46:11 +02:00
2020-09-15 13:46:11 +02:00
2020-09-15 13:46:11 +02:00
2020-09-15 13:46:11 +02:00
2020-09-15 13:46:11 +02:00
2020-09-15 13:46:11 +02:00
2020-10-05 10:28:45 +01:00
2020-11-09 11:28:23 +01:00
2020-01-07 16:12:55 +01:00
2020-11-23 14:44:39 +01:00
2020-11-10 18:34:26 +01:00
2020-11-10 18:34:02 +01:00
2020-08-03 15:30:40 +02:00
2020-11-10 18:34:16 +01:00
2020-11-10 18:34:23 +01:00
2020-10-26 02:39:29 -04:00
2020-10-06 09:01:46 +02:00
2020-10-06 09:01:46 +02:00
2020-10-06 09:01:46 +02:00
2020-08-03 15:30:40 +02:00
2020-10-06 09:01:46 +02:00
2020-08-03 15:30:40 +02:00
2020-09-24 11:19:06 +02:00
2020-08-24 13:32:53 +02:00
2020-10-06 09:01:46 +02:00
2020-11-13 11:12:30 +01:00
2020-08-03 15:30:40 +02:00
2020-10-01 12:34:13 +02:00
2020-09-03 16:25:43 +02:00
2020-05-05 14:45:58 +02:00
2020-11-19 01:18:35 +01:00
2020-06-16 09:43:44 +02:00
2020-08-03 15:30:40 +02:00
2020-09-02 10:28:10 +02:00
2020-10-06 14:26:43 +02:00
2020-01-29 14:51:39 +00:00
2020-10-01 12:34:13 +02:00
2020-11-13 11:12:30 +01:00
2020-11-13 11:12:29 +01:00