summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2013-12-10 10:44:47 +1300
committerRobert Ancell <robert.ancell@canonical.com>2013-12-10 10:44:47 +1300
commitd855997a790c96499c3a56f74df59ead4c78b966 (patch)
tree8af09728908db03b51a4cbdfe9dfa0de49439508
parent7890e748336f040dece98ad3dccf1a0a94ee1aa3 (diff)
downloadlightdm-d855997a790c96499c3a56f74df59ead4c78b966.tar.gz
Drop unused variable
-rw-r--r--src/session-child.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/session-child.c b/src/session-child.c
index f9d0bfb3..01eb1c37 100644
--- a/src/session-child.c
+++ b/src/session-child.c
@@ -221,9 +221,6 @@ session_child_run (int argc, char **argv)
GDBusConnection *bus;
gchar *console_kit_cookie = NULL;
gchar *login1_session = NULL;
-
- const gchar *path;
- GError *error = NULL;
const gchar *locale_value;
gchar *locale_var;
static const gchar * const locale_var_names[] = {
@@ -237,6 +234,7 @@ session_child_run (int argc, char **argv)
"LANG",
NULL
};
+ GError *error = NULL;
#if !defined(GLIB_VERSION_2_36)
g_type_init ();