[gnome-builder/wip/libide: 16/153] build: fix warning



commit ce1667e0a1d079881b9a1a67b61e97911caa2126
Author: Christian Hergert <christian hergert me>
Date:   Sat Feb 7 15:53:17 2015 -0800

    build: fix warning

 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 a0e523d..1129c20 100644
--- a/libide/autotools/ide-autotools-build-task.c
+++ b/libide/autotools/ide-autotools-build-task.c
@@ -532,7 +532,7 @@ ide_autotools_build_task_execute_finish (IdeAutotoolsBuildTask  *self,
 {
   GTask *task = (GTask *)result;
 
-  g_return_if_fail (IDE_IS_AUTOTOOLS_BUILD_TASK (self));
+  g_return_val_if_fail (IDE_IS_AUTOTOOLS_BUILD_TASK (self), FALSE);
   g_return_val_if_fail (G_IS_TASK (result), FALSE);
   g_return_val_if_fail (G_IS_TASK (task), FALSE);
 


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