[libvirt] [PATCH] maint: remove redundant tests after virStrToLong

Eric Blake eblake at redhat.com
Wed Mar 31 14:59:14 UTC 2010


On 03/31/2010 07:40 AM, Matthias Bolte wrote:
> 2010/3/30 Eric Blake <eblake at redhat.com>:
>> virStrToLong* guarantees (via strtol) that the end pointer will be set
>> to the point at which parsing stopped (even on failure, this point is
>> the start of the input string).
>>
>> * src/esx/esx_driver.c (esxGetVersion): Remove pointless
>> conditional.
> 
> ACK.

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list