On 07/28/2016 08:38 AM, marcandre.lur...@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lur...@redhat.com>
> 
> Simplify a bit the code by using g_strdup_printf() and store it in a
> non-const value so casting is no longer needed, and ownership is
> clearer.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
> ---
>  hw/core/bus.c          | 21 ++++++---------------
>  include/hw/qdev-core.h |  2 +-
>  2 files changed, 7 insertions(+), 16 deletions(-)

Reviewed-by: Eric Blake <ebl...@redhat.com>


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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to