[gnome-builder/wip/gtk4-port: 1528/1774] build: more build warning fixes




commit aaa8577a41de34a76683a112e1079a57779790cd
Author: Christian Hergert <christian hergert me>
Date:   Wed Jun 15 15:07:55 2022 -0700

    build: more build warning fixes

 src/libide/lsp/ide-lsp-completion-provider.c             | 1 -
 src/plugins/buildstream/gbp-buildstream-pipeline-addin.c | 2 --
 2 files changed, 3 deletions(-)
---
diff --git a/src/libide/lsp/ide-lsp-completion-provider.c b/src/libide/lsp/ide-lsp-completion-provider.c
index 5e276f987..01845bc3d 100644
--- a/src/libide/lsp/ide-lsp-completion-provider.c
+++ b/src/libide/lsp/ide-lsp-completion-provider.c
@@ -369,7 +369,6 @@ ide_lsp_completion_provider_refilter (GtkSourceCompletionProvider *provider,
   IdeLspCompletionProvider *self = (IdeLspCompletionProvider *)provider;
   IdeLspCompletionProviderPrivate *priv = ide_lsp_completion_provider_get_instance_private (self);
   IdeLspCompletionResults *results = (IdeLspCompletionResults *)model;
-  g_autofree char *word = NULL;
 
   g_assert (IDE_IS_LSP_COMPLETION_PROVIDER (self));
   g_assert (GTK_SOURCE_IS_COMPLETION_CONTEXT (context));
diff --git a/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c 
b/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c
index 95fee72a3..612bdeffe 100644
--- a/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c
+++ b/src/plugins/buildstream/gbp-buildstream-pipeline-addin.c
@@ -53,9 +53,7 @@ static void
 gbp_buildstream_pipeline_addin_load (IdePipelineAddin *addin,
                                      IdePipeline      *pipeline)
 {
-  g_autoptr(IdeSubprocessLauncher) fetch_launcher = NULL;
   g_autoptr(IdeSubprocessLauncher) build_launcher = NULL;
-  g_autoptr(IdeSubprocessLauncher) clean_launcher = NULL;
   g_autoptr(IdePipelineStage) stage = NULL;
   IdeBuildSystem *build_system;
   IdeContext *context;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]