telepathy-mission-control: drop unused variables

Simon McVittie smcv at kemper.freedesktop.org
Thu Sep 5 07:07:17 PDT 2013


Module: telepathy-mission-control
Branch: master
Commit: 05fcc81b1684975e9d20a4ecba55f46b11ccd7e8
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=05fcc81b1684975e9d20a4ecba55f46b11ccd7e8

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Sep  5 15:01:02 2013 +0100

drop unused variables

---

 tests/account-store-default.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/tests/account-store-default.c b/tests/account-store-default.c
index c3e357d..7c9c16e 100644
--- a/tests/account-store-default.c
+++ b/tests/account-store-default.c
@@ -79,12 +79,6 @@ gchar *
 default_get (const gchar *account,
     const gchar *key)
 {
-  const gchar *pkey = key;
-  gchar *value = NULL;
-
-  if (g_str_has_prefix (key, "param-"))
-    pkey = key + strlen("param-");
-
   return g_key_file_get_string (default_keyfile (), account, key, NULL);
 }
 



More information about the telepathy-commits mailing list