[gnome-online-accounts] daemon: Silence -Wunused-variable when building without Kerberos
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] daemon: Silence -Wunused-variable when building without Kerberos
- Date: Tue, 23 Apr 2013 14:09:32 +0000 (UTC)
commit 289a9801e6da23b371f07d31d38b292a61143df2
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Apr 16 16:07:41 2013 +0200
daemon: Silence -Wunused-variable when building without Kerberos
src/daemon/goadaemon.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index 697601a..2fb6173 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -184,7 +184,9 @@ goa_daemon_init (GoaDaemon *daemon)
static volatile GQuark goa_error_domain = 0;
GoaObjectSkeleton *object;
gchar *path;
+#ifdef GOA_KERBEROS_ENABLED
GError *error = NULL;
+#endif
/* this will force associating errors in the GOA_ERROR error domain
* with org.freedesktop.Goa.Error.* errors via g_dbus_error_register_error_domain().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]