aboutsummaryrefslogtreecommitdiff
path: root/src/users-service-dbus.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-07 10:48:22 -0500
committerTed Gould <ted@gould.cx>2011-07-07 10:48:22 -0500
commit45a5771fd8fc84fc3050ae6b9afdf113a4a591f7 (patch)
tree351c8d74fc65861932921a776e95455e84a00051 /src/users-service-dbus.c
parente94209be9883443c69b2e50d4f98f08847ead1a5 (diff)
downloadayatana-indicator-session-45a5771fd8fc84fc3050ae6b9afdf113a4a591f7.tar.gz
ayatana-indicator-session-45a5771fd8fc84fc3050ae6b9afdf113a4a591f7.tar.bz2
ayatana-indicator-session-45a5771fd8fc84fc3050ae6b9afdf113a4a591f7.zip
Removing unused result variable
Diffstat (limited to 'src/users-service-dbus.c')
-rw-r--r--src/users-service-dbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/users-service-dbus.c b/src/users-service-dbus.c
index 11ee497..07a81b1 100644
--- a/src/users-service-dbus.c
+++ b/src/users-service-dbus.c
@@ -586,7 +586,6 @@ seat_proxy_session_added (DBusGProxy *seat_proxy,
g_return_if_fail(IS_USERS_SERVICE_DBUS(service));
UsersServiceDbusPrivate *priv = USERS_SERVICE_DBUS_GET_PRIVATE (service);
uid_t uid;
- gboolean res;
struct passwd *pwent;
UserData *user;
@@ -621,7 +620,7 @@ seat_proxy_session_added (DBusGProxy *seat_proxy,
return;
}
- res = do_add_session (service, user, session_id);
+ do_add_session (service, user, session_id);
}
static void