Re: [libvirt] [PATCH 1/2] xenapi_driver: fix copy-paste typo

2015-01-22 Thread Pavel Hrdina
On 01/21/2015 06:29 PM, Peter Krempa wrote: On Wed, Jan 21, 2015 at 18:09:27 +0100, Pavel Hrdina wrote: Clang found that we are passing variable with wrong enum type to 'xenapiCrashExitEnum2virDomainLifecycle' function. This is probably copy-paste typo as the correct variable exists in the

[libvirt] [PATCH 1/2] xenapi_driver: fix copy-paste typo

2015-01-21 Thread Pavel Hrdina
Clang found that we are passing variable with wrong enum type to 'xenapiCrashExitEnum2virDomainLifecycle' function. This is probably copy-paste typo as the correct variable exists in the code, but it isn't used. Signed-off-by: Pavel Hrdina phrd...@redhat.com --- src/xenapi/xenapi_driver.c | 2 +-

Re: [libvirt] [PATCH 1/2] xenapi_driver: fix copy-paste typo

2015-01-21 Thread Peter Krempa
On Wed, Jan 21, 2015 at 18:09:27 +0100, Pavel Hrdina wrote: Clang found that we are passing variable with wrong enum type to 'xenapiCrashExitEnum2virDomainLifecycle' function. This is probably copy-paste typo as the correct variable exists in the code, but it isn't used. Signed-off-by: