From 5445d8aad0112dab3ed798c39bf6b22f2a4eebd1 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 28 Feb 2019 23:15:34 +0100 Subject: meson: enable more compiler warnings --- backend/session/logind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/session') diff --git a/backend/session/logind.c b/backend/session/logind.c index 0bacfbcd..8f4e328d 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -440,7 +440,7 @@ static bool add_signal_matches(struct logind_session *session) { int ret; char str[256]; - const char *fmt = "type='signal'," + const char fmt[] = "type='signal'," "sender='org.freedesktop.login1'," "interface='org.freedesktop.login1.%s'," "member='%s'," -- cgit v1.2.3