[gnome-keyring] Fix "void function should not return a value" error for clang
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] Fix "void function should not return a value" error for clang
- Date: Thu, 20 Nov 2014 20:13:29 +0000 (UTC)
commit f59fb0646dedd4e730c9e8e3c090d7cd52ac5278
Author: Ting-Wei Lan <lantw src gnome org>
Date: Sun Nov 16 03:41:27 2014 +0800
Fix "void function should not return a value" error for clang
https://bugzilla.gnome.org/show_bug.cgi?id=740190
daemon/login/gkd-login.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/login/gkd-login.c b/daemon/login/gkd-login.c
index a5d1a90..a3d6dcf 100644
--- a/daemon/login/gkd-login.c
+++ b/daemon/login/gkd-login.c
@@ -611,7 +611,7 @@ gkd_login_clear_password (GckSession *session,
va_start (va, field);
if (!fields_to_attribute (&builder, field, va))
- g_return_val_if_reached (FALSE);
+ g_return_if_reached ();
va_end (va);
attrs = gck_attributes_ref_sink (gck_builder_end (&builder));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]