summaryrefslogtreecommitdiff
path: root/src/session-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session-child.c')
-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 ();