Re: [PATCH] virjson: Remove const from virJSONValueObjectForeachKeyValue

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

 



On Wed, Dec 14, 2016 at 15:36:17 +0100, Jiri Denemark wrote:
> Almost none of our virJSONValue*Get* functions accept const virJSONValue
> pointers and it wouldn't even make sense since we sometimes modify what
> we get. And because there is no reason for preventing callers of
> virJSONValueObjectForeachKeyValue from modifying the values they get in
> each iteration we can just stop doing it.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/util/virjson.c        |  2 +-
>  src/util/virjson.h        |  4 ++--
>  src/util/virqemu.c        | 16 ++++++++--------
>  src/util/virqemu.h        | 10 +++++-----
>  src/util/virstoragefile.c |  2 +-
>  5 files changed, 17 insertions(+), 17 deletions(-)

ACK

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux