[gtk+] filechooser: Fix set-but-not-used warning from gcc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooser: Fix set-but-not-used warning from gcc
- Date: Sat, 9 Jul 2011 19:25:04 +0000 (UTC)
commit ccaa0af7d0cfc3a37b96ceb85e26bab4c05d046d
Author: Benjamin Otte <otte redhat com>
Date: Sat Jul 9 21:24:41 2011 +0200
filechooser: Fix set-but-not-used warning from gcc
gtk/gtkfilechooserdefault.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index aab4b04..24904d3 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -1452,7 +1452,6 @@ get_file_info_finished (GCancellable *cancellable,
const GError *error,
gpointer data)
{
- gint pos = -1;
gboolean cancelled = g_cancellable_is_cancelled (cancellable);
GdkPixbuf *pixbuf;
GtkTreePath *path;
@@ -1465,7 +1464,6 @@ get_file_info_finished (GCancellable *cancellable,
/* Handle doesn't exist anymore in the model */
goto out;
- pos = gtk_tree_path_get_indices (path)[0];
gtk_tree_model_get_iter (GTK_TREE_MODEL (request->impl->shortcuts_model),
&iter, path);
gtk_tree_path_free (path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]