summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stk.c b/src/stk.c
index 7cdad5bf..98cf8108 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -353,9 +353,9 @@ static gboolean handle_command_set_idle_text(const struct stk_command *cmd,
struct stk_response *rsp,
struct ofono_stk *stk)
{
- const char *idle_mode_text;
DBusConnection *conn = ofono_dbus_get_connection();
const char *path = __ofono_atom_get_path(stk->atom);
+ const char *idle_mode_text;
if (stk->idle_mode_text) {
g_free(stk->idle_mode_text);