[gnome-builder] gui: fix compiler warnings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] gui: fix compiler warnings
- Date: Tue, 26 Feb 2019 01:54:18 +0000 (UTC)
commit 646e6e7bfdaf22aad9a77217b78bc7f64c3812a7
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 25 17:53:24 2019 -0800
gui: fix compiler warnings
src/libide/gui/ide-workbench.c | 2 --
src/libide/gui/ide-workspace.c | 1 -
2 files changed, 3 deletions(-)
---
diff --git a/src/libide/gui/ide-workbench.c b/src/libide/gui/ide-workbench.c
index cd2ce6fc3..cdec87604 100644
--- a/src/libide/gui/ide-workbench.c
+++ b/src/libide/gui/ide-workbench.c
@@ -1099,7 +1099,6 @@ ide_workbench_load_project_async (IdeWorkbench *self,
GAsyncReadyCallback callback,
gpointer user_data)
{
- g_autoptr(GPtrArray) addins = NULL;
g_autoptr(IdeTask) task = NULL;
g_autoptr(GFile) parent = NULL;
g_autofree gchar *name = NULL;
@@ -2449,7 +2448,6 @@ ide_workbench_resolve_file_async (IdeWorkbench *self,
GAsyncReadyCallback callback,
gpointer user_data)
{
- g_autofree gchar *srcpath = NULL;
g_autoptr(IdeTask) task = NULL;
ResolveFile *rf;
diff --git a/src/libide/gui/ide-workspace.c b/src/libide/gui/ide-workspace.c
index 7db4e9a03..7498f7634 100644
--- a/src/libide/gui/ide-workspace.c
+++ b/src/libide/gui/ide-workspace.c
@@ -267,7 +267,6 @@ ide_workspace_delete_event (GtkWidget *widget,
{
IdeWorkspace *self = (IdeWorkspace *)widget;
IdeWorkspacePrivate *priv = ide_workspace_get_instance_private (self);
- g_autoptr(IdeTask) task = NULL;
IdeWorkbench *workbench;
g_assert (IDE_IS_WORKSPACE (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]