From 7932664b3b1762cd16880ac2e2ca7cdd9be18cb1 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 28 Jun 2022 11:24:58 +0300 Subject: [PATCH] weston-log: Fix documentation for weston_log_subscription_create Introduced with e0a858a5f2f00f35bfc, commit 'weston-debug: Introduce weston_log_subscription and weston_log_subscriber objects'. We don't really return a weston_log_subscription so let's remove it. Some newer doxygen detects this and we are treating warning as errors. Fixes #594 Signed-off-by: Marius Vlad --- libweston/weston-log.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libweston/weston-log.c b/libweston/weston-log.c index 5e7f3521..93f95c9a 100644 --- a/libweston/weston-log.c +++ b/libweston/weston-log.c @@ -238,8 +238,6 @@ weston_log_subscription_get_data(struct weston_log_subscription *sub) * subscription * @param scope the scope in order to add the subscription to the scope's * subscription list - * @returns a weston_log_subscription object in case of success, or NULL - * otherwise * * @sa weston_log_subscription_destroy, weston_log_subscription_remove, * weston_log_subscription_add