diff --git a/lib/xdg-app-utils.h b/lib/xdg-app-utils.h index d4d5c13d..a6441b90 100644 --- a/lib/xdg-app-utils.h +++ b/lib/xdg-app-utils.h @@ -125,7 +125,7 @@ static inline GMutex *xdg_app_auto_lock_helper (GMutex *mutex) } -#define AUTOLOCK(name) __attribute__((cleanup(xdg_app_auto_unlock_helper))) GMutex * G_PASTE(auto_unlock, __LINE__) = xdg_app_auto_lock_helper (&G_LOCK_NAME (name)) +#define AUTOLOCK(name) G_GNUC_UNUSED __attribute__((cleanup(xdg_app_auto_unlock_helper))) GMutex * G_PASTE(auto_unlock, __LINE__) = xdg_app_auto_lock_helper (&G_LOCK_NAME (name)) G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeRepo, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeMutableTree, g_object_unref)