[gnome-builder] threading: fix warning on clang
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] threading: fix warning on clang
- Date: Tue, 26 Feb 2019 01:57:57 +0000 (UTC)
commit 131a4aa5e5f2c54de15ab75d605a2f96737067f2
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 25 17:57:47 2019 -0800
threading: fix warning on clang
src/libide/threading/ide-task.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/libide/threading/ide-task.h b/src/libide/threading/ide-task.h
index b424edad7..35d01a936 100644
--- a/src/libide/threading/ide-task.h
+++ b/src/libide/threading/ide-task.h
@@ -177,13 +177,13 @@ void ide_task_report_new_error (gpointer source_o
ide_task_set_name (__ide_task, g_intern_static_string (G_STRLOC)); \
__ide_task; \
})
-# define ide_task_set_task_data(t,d,n) \
- G_STMT_START { \
- __typeof__((d)) __task_data = (d); \
- (ide_task_set_task_data) ((t), \
- __task_data, \
- 0 ? (((n) (__task_data)), NULL) \
- : ((GDestroyNotify)(n))); \
+# define ide_task_set_task_data(t,d,n) \
+ G_STMT_START { \
+ __typeof__((d)) __task_data = (d); \
+ (ide_task_set_task_data) ((t), \
+ __task_data, \
+ 0 ? (((n) (__task_data)), (GDestroyNotify)NULL) \
+ : ((GDestroyNotify)(n))); \
} G_STMT_END
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]