From 521979ef6933ad376192b770273dac1fef802870 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 2 Jun 2021 23:55:37 +0200 Subject: [PATCH] ofono: call: Don't shadow props variable As caught by compiling with `-Wshadow` --- plugins/ofono/calls-ofono-call.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/ofono/calls-ofono-call.c b/plugins/ofono/calls-ofono-call.c index 61e7e1e..9d521dc 100644 --- a/plugins/ofono/calls-ofono-call.c +++ b/plugins/ofono/calls-ofono-call.c @@ -202,16 +202,16 @@ calls_ofono_call_tone_start (CallsCall *call, gchar key) static void set_properties (CallsOfonoCall *self, - GVariant *props) + GVariant *call_props) { const gchar *str = NULL; - g_return_if_fail (props != NULL); + g_return_if_fail (call_props != NULL); - g_variant_lookup (props, "LineIdentification", "s", &self->number); - g_variant_lookup (props, "Name", "s", &self->name); + g_variant_lookup (call_props, "LineIdentification", "s", &self->number); + g_variant_lookup (call_props, "Name", "s", &self->name); - g_variant_lookup (props, "State", "&s", &str); + g_variant_lookup (call_props, "State", "&s", &str); g_return_if_fail (str != NULL); calls_call_state_parse_nick (&self->state, str);