changeset 1249:728030a71f1e

Silent two compilation warnings.
author Laurent Monin <geeqie@norz.org>
date Sat, 24 Jan 2009 07:41:23 +0000
parents fc64d8bf5bb6
children e1a26064f3fa
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;