summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/sj-prefs.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cfeb2c..c19203a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-30 Ryan Lortie <desrt@desrt.ca>
+
+ * src/sj-prefs.c:
+ Remove unrequired use of 'strip' variable (#328918).
+
2006-01-30 Ross Burton <ross@burtonini.com>
* configure.in:
diff --git a/src/sj-prefs.c b/src/sj-prefs.c
index 9d7b254..a858033 100644
--- a/src/sj-prefs.c
+++ b/src/sj-prefs.c
@@ -198,7 +198,6 @@ static void pattern_label_update (void)
{
char *file_pattern, *path_pattern;
char *file_value, *path_value, *example, *format;
- gboolean strip;
static AlbumDetails sample_album = {
N_("Album Title"), /* title */
N_("Album Artist"), /* artist */
@@ -241,7 +240,6 @@ static void pattern_label_update (void)
if (path_pattern == NULL) {
path_pattern = g_strdup(path_patterns[0].pattern);
}
- strip = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_strip));
file_value = filepath_parse_pattern (file_pattern, &sample_track);
path_value = filepath_parse_pattern (path_pattern, &sample_track);