[gnome-builder/gnome-builder-3-18] autotools: remove double assignment in doap



commit 7382a9d254c9305685ade5bb7db12082fbf3749b
Author: Christian Hergert <christian hergert me>
Date:   Sat Oct 3 16:12:11 2015 -0700

    autotools: remove double assignment in doap

 plugins/autotools/ide-autotools-project-miner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/autotools/ide-autotools-project-miner.c b/plugins/autotools/ide-autotools-project-miner.c
index 6cf646d..409fff7 100644
--- a/plugins/autotools/ide-autotools-project-miner.c
+++ b/plugins/autotools/ide-autotools-project-miner.c
@@ -75,7 +75,7 @@ ide_autotools_project_miner_find_doap (IdeAutotoolsProjectMiner *self,
       if (name != NULL && g_str_has_suffix (name, ".doap"))
         {
           g_autoptr(GFile) doap_file = g_file_get_child (directory, name);
-          IdeDoap *doap = doap = ide_doap_new ();
+          IdeDoap *doap = ide_doap_new ();
 
           if (!ide_doap_load_from_file (doap, doap_file, cancellable, NULL))
             {


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