filechooser: Fix set-but-not-used warning from gcc
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user