aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-11-20 16:15:20 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-30 11:59:14 +0100
commitcdcc44922f0195b5b3933b79232042ea62f8ebb8 (patch)
tree9f723cd60cef9415e70dadca9afb338e600557f6 /src
parent7c4220bc68c695099199c56d2d97a8f8fa34c9a2 (diff)
core,broadband-bearer: fix warnings with -Wshadow
mm-broadband-bearer.c: In function ‘mm_broadband_bearer_new’: mm-broadband-bearer.c:2204:46: warning: declaration of ‘properties’ shadows a global declaration [-Wshadow] 2204 | MMBearerProperties *properties, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ mm-broadband-bearer.c:58:20: note: shadowed declaration is here 58 | static GParamSpec *properties[PROP_LAST]; | ^~~~~~~~~~
Diffstat (limited to 'src')
-rw-r--r--src/mm-broadband-bearer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
index c7bdb29f..6690c8ac 100644
--- a/src/mm-broadband-bearer.c
+++ b/src/mm-broadband-bearer.c
@@ -2200,7 +2200,7 @@ initable_init_async (GAsyncInitable *initable,
void
mm_broadband_bearer_new (MMBroadbandModem *modem,
- MMBearerProperties *properties,
+ MMBearerProperties *bearer_properties,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -2219,7 +2219,7 @@ mm_broadband_bearer_new (MMBroadbandModem *modem,
callback,
user_data,
MM_BASE_BEARER_MODEM, modem,
- MM_BASE_BEARER_CONFIG, properties,
+ MM_BASE_BEARER_CONFIG, bearer_properties,
MM_BROADBAND_BEARER_FLOW_CONTROL, flow_control,
NULL);
}