From c9649b10d3750fa168b44d9620ee581297d9bdca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 11 Jun 2014 22:44:28 +0200 Subject: [PATCH 2/5] Remove a redundant assignment. Instead of a nonsensical (data = data), use the more customary ((void)data) to silence the warning about an unused parameter. https://bugs.freedesktop.org/show_bug.cgi?id=80767 --- src/polkitagent/polkitagenthelper-pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polkitagent/polkitagenthelper-pam.c b/src/polkitagent/polkitagenthelper-pam.c index 292abbe..937386e 100644 --- a/src/polkitagent/polkitagenthelper-pam.c +++ b/src/polkitagent/polkitagenthelper-pam.c @@ -230,7 +230,7 @@ conversation_function (int n, const struct pam_message **msg, struct pam_respons gchar *tmp = NULL; size_t len; - data = data; + (void)data; if (n <= 0 || n > PAM_MAX_NUM_MSG) return PAM_CONV_ERR; -- 1.8.3.1