[libvirt] [PATCH 3/7] qemu: snapshot: Convert if-else switch to switch statement

Peter Krempa pkrempa at redhat.com
Mon Jul 21 09:16:54 UTC 2014


On 07/19/14 00:31, Eric Blake wrote:
> On 07/18/2014 10:11 AM, Peter Krempa wrote:
>> Convert the target snapshot state selector to a switch statement
>> enumerating all possible values. This points out a few mistakes in the
>> original selector.
>>
>> The logic of the code is preserved until later patches.
>> ---
>>  src/qemu/qemu_driver.c | 22 ++++++++++++++++------
>>  1 file changed, 16 insertions(+), 6 deletions(-)
>>
> 
> ACK.
> 

Pushed; Thanks.

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140721/e62b147d/attachment-0001.sig>


More information about the libvir-list mailing list