[libvirt] [dbus PATCH] domain: remove G_GNUC_UNUSED for used attributes

Pavel Hrdina phrdina at redhat.com
Wed Mar 28 09:15:10 UTC 2018


On Tue, Mar 27, 2018 at 06:30:19PM +0200, Ján Tomko wrote:
> A few functions use the G_GNUC_UNUSED marker for objectPath,
> even though it's passed to virtDBusDomainGetVirDomain later.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> Also passes the build with clang 5.0.1, once that lock issue is fixed:
> connect.c:59:29: error: unused variable 'lock' [-Werror,-Wunused-variable]
>     g_autoptr(GMutexLocker) lock = g_mutex_locker_new(&connect->lock);
> 
>  src/domain.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Thanks, I've pushed it together with the clang patch.  I didn't realize
that you would be able to push it as well.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180328/563ce3cf/attachment-0001.sig>


More information about the libvir-list mailing list