diff options
author | Richard Hughes <richard@hughsie.com> | 2013-10-29 12:51:23 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-10-29 12:51:23 +0000 |
commit | 97ed6c47319295cfc15b9c9618137d2a56d03497 (patch) | |
tree | 33651202cd5f3bce896d29b3562be120e4b732f3 | |
parent | e673d9e59b9e3c71d1b49d308fcea50f6ec4093d (diff) | |
download | upower-97ed6c47319295cfc15b9c9618137d2a56d03497.tar.gz |
trivial: Fix a compile warning in the linux backend
-rw-r--r-- | src/linux/up-backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c index 6ee29f7..bfecc8e 100644 --- a/src/linux/up-backend.c +++ b/src/linux/up-backend.c @@ -386,7 +386,7 @@ up_backend_get_critical_action (UpBackend *backend) }; guint i; - g_return_if_fail (backend->priv->logind_proxy != NULL); + g_return_val_if_fail (backend->priv->logind_proxy != NULL, NULL); for (i = 0; i < G_N_ELEMENTS (actions); i++) { GVariant *result; |