[libsecret/wip/dueno/disable-assert-tests: 2/2] build: Suppress compiler warning if compiled with G_DISABLE_ASSERT
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret/wip/dueno/disable-assert-tests: 2/2] build: Suppress compiler warning if compiled with G_DISABLE_ASSERT
- Date: Sat, 29 Jun 2019 04:55:28 +0000 (UTC)
commit 0be63575ff47f19cff3688985c7f00e92bc25541
Author: Daiki Ueno <dueno src gnome org>
Date: Sat Jun 29 06:54:40 2019 +0200
build: Suppress compiler warning if compiled with G_DISABLE_ASSERT
libsecret/secret-schemas.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libsecret/secret-schemas.c b/libsecret/secret-schemas.c
index 7f93fc7..f07a2ac 100644
--- a/libsecret/secret-schemas.c
+++ b/libsecret/secret-schemas.c
@@ -110,4 +110,5 @@ secret_get_schema (SecretSchemaType type)
default:
g_assert_not_reached ();
}
+ g_return_val_if_reached (NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]