summaryrefslogtreecommitdiff
path: root/mate-volume-control
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control')
-rw-r--r--mate-volume-control/gvc-sound-theme-chooser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-volume-control/gvc-sound-theme-chooser.c b/mate-volume-control/gvc-sound-theme-chooser.c
index 4d7337c..9edc630 100644
--- a/mate-volume-control/gvc-sound-theme-chooser.c
+++ b/mate-volume-control/gvc-sound-theme-chooser.c
@@ -355,7 +355,7 @@ setup_theme_selector (GvcSoundThemeChooser *chooser)
static xmlChar *
xml_get_and_trim_names (xmlNodePtr node)
{
- xmlNodePtr cur, keep = NULL;
+ xmlNodePtr cur;
xmlChar *keep_lang = NULL;
xmlChar *value;
int j, keep_pri = INT_MAX;
@@ -392,7 +392,6 @@ xml_get_and_trim_names (xmlNodePtr node)
keep_lang = cur_lang;
keep_pri = cur_pri;
- keep = cur;
} else {
if (cur_lang)
xmlFree (cur_lang);