[libvirt] [PATCH 4/3] conf: Avoid double assignment in virDomainDiskRemove

Michal Privoznik mprivozn at redhat.com
Fri Apr 13 10:10:58 UTC 2012


On 13.04.2012 12:25, Osier Yang wrote:
> On 04/13/2012 05:24 PM, Michal Privoznik wrote:
>> Although it should be harmless to do:
>>      disk = disk = def->disks[i]
>> some not-so-wise compilers may fool around.
>> Besides, such assignment is useless here.
>> ---
>>   src/conf/domain_conf.c |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>

> 
> ACK


Thanks, pushed.

Michal




More information about the libvir-list mailing list