summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-07-08 13:53:50 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-07-08 14:27:34 -0500
commit5094b677cafc51508dd13eb81ea8b501e6112890 (patch)
tree29f34f35699140d274a7a83528d2ec1c09d29a2f /src
parent84e73a8b7cd1036969987fc8f1d969336593c4e4 (diff)
downloadofono-5094b677cafc51508dd13eb81ea8b501e6112890.tar.bz2
style: Prefer initialized variables on top
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);