
28 Mar
2018
28 Mar
'18
5:15 a.m.
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@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