diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index fd2bfb3f85..f7660842b5 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -1298,12 +1298,10 @@ GtkFileSystemVolume * _gtk_file_system_get_volume_for_file (GtkFileSystem *file_system, GFile *file) { - GtkFileSystemPrivate *priv; GMount *mount; DEBUG ("get_volume_for_file"); - priv = GTK_FILE_SYSTEM_GET_PRIVATE (file_system); mount = g_file_find_enclosing_mount (file, NULL, NULL); if (!mount && g_file_is_native (file)) diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index 87bec1adfc..2813c8e945 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -1426,11 +1426,9 @@ button_drag_data_get_cb (GtkWidget *widget, gpointer data) { ButtonData *button_data; - GtkPathBar *path_bar; char *uris[2]; button_data = data; - path_bar = GTK_PATH_BAR (widget->parent); /* the button's parent *is* the path bar */ uris[0] = g_file_get_uri (button_data->file); uris[1] = NULL; @@ -1701,13 +1699,10 @@ _gtk_path_bar_set_file (GtkPathBar *path_bar, GError **error) { struct SetFileInfo *info; - gboolean result; g_return_val_if_fail (GTK_IS_PATH_BAR (path_bar), FALSE); g_return_val_if_fail (G_IS_FILE (file), FALSE); - result = TRUE; - /* Check whether the new path is already present in the pathbar as buttons. * This could be a parent directory or a previous selected subdirectory. */