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

Re: [libvirt] [PATCH 04/14] Remove bogus const return values in storage file APIs



On 12/11/2012 01:41 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> virStorageFileGetLVMKey and virStorageFileGetSCSIKey
> both return heap allocated strings, so the return value
> should not be marked const.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/util/storage_file.c | 8 ++++----
>  src/util/storage_file.h | 4 ++--
>  2 files changed, 6 insertions(+), 6 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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