]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove bogus const return values in storage file APIs
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Dec 2012 16:39:00 +0000 (16:39 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 12 Dec 2012 10:50:55 +0000 (10:50 +0000)
commit3f0010a673ed416b2827f4ab8242d7cec3bf9547
tree6b97a6eb1f9a9c4752b3e6cde93355569b32de4b
parent64212ed20e389eb14c6e641a1b00e192ba196a24
Remove bogus const return values in storage file APIs

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
src/util/storage_file.h