[sysprof: 3/4] sysprof-capture-condition: always return even if unreachable
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof: 3/4] sysprof-capture-condition: always return even if unreachable
- Date: Wed, 16 Sep 2020 18:08:35 +0000 (UTC)
commit 088408c085e5d668c872769391787481875293a6
Author: Đoàn Trần Công Danh <congdanhqx gmail com>
Date: Tue Sep 15 20:51:28 2020 +0700
sysprof-capture-condition: always return even if unreachable
Fix the problem with -Werror=return-type
src/libsysprof-capture/sysprof-capture-condition.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libsysprof-capture/sysprof-capture-condition.c
b/src/libsysprof-capture/sysprof-capture-condition.c
index 8f89157..4b829a9 100644
--- a/src/libsysprof-capture/sysprof-capture-condition.c
+++ b/src/libsysprof-capture/sysprof-capture-condition.c
@@ -269,6 +269,7 @@ sysprof_capture_condition_copy (const SysprofCaptureCondition *self)
}
sysprof_assert_not_reached ();
+ return NULL;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]