[gnome-session] manager: Fix compile warning
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] manager: Fix compile warning
- Date: Fri, 23 Mar 2012 09:50:54 +0000 (UTC)
commit 1313fbbcb1505b14d40b331a6949e11860852ba2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Mar 19 20:22:19 2012 -0400
manager: Fix compile warning
https://bugzilla.gnome.org/show_bug.cgi?id=672417
gnome-session/gsm-manager.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 897b3fe..6438afa 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -1971,7 +1971,6 @@ static void
remove_inhibitors_for_connection (GsmManager *manager,
const char *service_name)
{
- guint n_removed;
RemoveClientData data;
data.service_name = service_name;
@@ -1979,9 +1978,9 @@ remove_inhibitors_for_connection (GsmManager *manager,
debug_inhibitors (manager);
- n_removed = gsm_store_foreach_remove (manager->priv->inhibitors,
- (GsmStoreFunc)inhibitor_has_bus_name,
- &data);
+ gsm_store_foreach_remove (manager->priv->inhibitors,
+ (GsmStoreFunc)inhibitor_has_bus_name,
+ &data);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]