changeset 1249:a5c78d3cfea0

Silent two compilation warnings.
author zas_
date Sat, 24 Jan 2009 07:41:23 +0000
parents f3cb10d0ad0d
children 6ccad430c4cb
files src/layout.c src/ui_fileops.c
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/layout.c	Sat Jan 24 07:36:21 2009 +0000
+++ b/src/layout.c	Sat Jan 24 07:41:23 2009 +0000
@@ -531,7 +531,6 @@
 
 static void layout_write_button_press_cb(GtkWidget *widget, gpointer data)
 {
-	LayoutWindow *lw = data;
 	metadata_write_queue_confirm(NULL, NULL);
 }
 
--- a/src/ui_fileops.c	Sat Jan 24 07:36:21 2009 +0000
+++ b/src/ui_fileops.c	Sat Jan 24 07:41:23 2009 +0000
@@ -659,9 +659,8 @@
 GList *string_list_copy(const GList *list)
 {
 	GList *new_list = NULL;
-	GList *work;
+	GList *work = (GList *) list;
 
-	work = list;
 	while (work)
 		{
 		gchar *path;