aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_runtime.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-01-28 21:49:30 +0000
committerBill Meier <wmeier@newsguy.com>2010-01-28 21:49:30 +0000
commit1341fcd87eed8a937e0362eac5cd3bc4d3a1180b (patch)
treefbe6ba74b37d4f018150d24eb22bd7d82714d4e6 /plugins/mate/mate_runtime.c
parent2ea1e1962f0d55e2f22c474df50f1fe609c734ca (diff)
Fix some gcc -Wshadow warnings.
svn path=/trunk/; revision=31722
Diffstat (limited to 'plugins/mate/mate_runtime.c')
-rw-r--r--plugins/mate/mate_runtime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mate/mate_runtime.c b/plugins/mate/mate_runtime.c
index 6d5684dec6..fa9209015d 100644
--- a/plugins/mate/mate_runtime.c
+++ b/plugins/mate/mate_runtime.c
@@ -484,7 +484,7 @@ static void analize_pdu(mate_pdu* pdu) {
AVPL* curr_gogkey = NULL;
void* cookie = NULL;
AVPL* gogkey_match = NULL;
- gchar* gogkey = NULL;
+ gchar* gogkey_str = NULL;
dbg_print (dbg_gop,1,dbg_facility,"analize_pdu: %s",pdu->cfg->name);
@@ -559,17 +559,17 @@ static void analize_pdu(mate_pdu* pdu) {
while (( curr_gogkey = get_next_avpl(gog_keys,&cookie) )) {
if (( gogkey_match = new_avpl_exact_match(cfg->name,gopkey_match,curr_gogkey,FALSE) )) {
- gogkey = avpl_to_str(gogkey_match);
+ gogkey_str = avpl_to_str(gogkey_match);
- if (g_hash_table_lookup(cfg->gog_index,gogkey)) {
+ if (g_hash_table_lookup(cfg->gog_index,gogkey_str)) {
gop = new_gop(cfg,pdu,gop_key);
g_hash_table_insert(cfg->gop_index,gop_key,gop);
delete_avpl(gogkey_match,FALSE);
- g_free(gogkey);
+ g_free(gogkey_str);
break;
} else {
delete_avpl(gogkey_match,FALSE);
- g_free(gogkey);
+ g_free(gogkey_str);
}
}
}