[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/5] util: storage: Convert disk locality check to switch statement



On 09/10/14 12:04, Daniel P. Berrange wrote:
> On Tue, Sep 09, 2014 at 10:45:44AM +0200, Peter Krempa wrote:
>> To allow the compiler to track future additions of disk types, convert
>> the function to use a switch statement with the correct type.
>> ---
>>  src/util/virstoragefile.c | 17 ++++++++++++++++-
>>  1 file changed, 16 insertions(+), 1 deletion(-)
> 
> ACK
> 

I've pushed this one. Thanks.

Peter



Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]