diff options
author | rbuj <[email protected]> | 2020-12-20 22:27:41 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-07 18:15:20 +0100 |
commit | dfcbc043483a1f94e5da312629351e52d3d5b3cd (patch) | |
tree | c8544df11440f4e48bda5e3039a46ed052238262 /mate-session | |
parent | 6398deed1db939a3bd5ae654603b5176925864af (diff) | |
download | mate-session-manager-dfcbc043483a1f94e5da312629351e52d3d5b3cd.tar.bz2 mate-session-manager-dfcbc043483a1f94e5da312629351e52d3d5b3cd.tar.xz |
Remove warning -Wshadow
Diffstat (limited to 'mate-session')
-rw-r--r-- | mate-session/gsm-manager.c | 10 | ||||
-rw-r--r-- | mate-session/gsm-xsmp-server.c | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index 9b0200f..817688a 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -2172,13 +2172,13 @@ on_xsmp_client_register_request (GsmXSMPClient *client, if (IS_STRING_EMPTY (*id)) { new_id = gsm_util_generate_startup_id (); } else { - GsmClient *client; + GsmClient *sm_client; - client = (GsmClient *)gsm_store_find (priv->clients, - (GsmStoreFunc)_client_has_startup_id, - *id); + sm_client = (GsmClient *)gsm_store_find (priv->clients, + (GsmStoreFunc)_client_has_startup_id, + *id); /* We can't have two clients with the same id. */ - if (client != NULL) { + if (sm_client != NULL) { goto out; } diff --git a/mate-session/gsm-xsmp-server.c b/mate-session/gsm-xsmp-server.c index 1566aba..10eb434 100644 --- a/mate-session/gsm-xsmp-server.c +++ b/mate-session/gsm-xsmp-server.c @@ -509,9 +509,9 @@ update_iceauthority (GsmXsmpServer *server, } for (e = entries; e; e = e->next) { - IceAuthFileEntry *auth_entry = e->data; - IceWriteAuthFileEntry (fp, auth_entry); - IceFreeAuthFileEntry (auth_entry); + IceAuthFileEntry *auth_file_entry = e->data; + IceWriteAuthFileEntry (fp, auth_file_entry); + IceFreeAuthFileEntry (auth_file_entry); } g_slist_free (entries); |