[gnome-builder] libide: quiet a warning due to g_auto_free
- From: Sebastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-builder] libide: quiet a warning due to g_auto_free
- Date: Thu, 23 Apr 2015 18:12:03 +0000 (UTC)
commit f2fcd0fa12631c65beedbf8e7efc54c0c27d9180
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Thu Apr 23 20:08:40 2015 +0200
    libide: quiet a warning due to g_auto_free
 libide/autotools/ide-autotools-build-task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/autotools/ide-autotools-build-task.c b/libide/autotools/ide-autotools-build-task.c
index 09412c0..ce6f541 100644
--- a/libide/autotools/ide-autotools-build-task.c
+++ b/libide/autotools/ide-autotools-build-task.c
@@ -261,7 +261,7 @@ ide_autotools_build_task_set_directory (IdeAutotoolsBuildTask *self,
    */
   if (directory)
     {
-      g_autofree gchar *path;
+      g_autofree gchar *path = NULL;
 
       path = g_file_get_path (directory);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]