From cbe52b9a4410a72ebfeeed50f942139afabbdc92 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 30 Oct 2009 16:09:59 -0500 Subject: [PATCH] Fix: Quiet compiler warnings --- src/network.c | 2 -- src/storage.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/network.c b/src/network.c index 42244c1..e4f81a1 100644 --- a/src/network.c +++ b/src/network.c @@ -1733,8 +1733,6 @@ void ofono_netreg_register(struct ofono_netreg *netreg) sim_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_SIM); if (sim_atom) { - const char *imsi; - /* Assume that if sim atom exists, it is ready */ netreg->sim = __ofono_atom_get_data(sim_atom); diff --git a/src/storage.c b/src/storage.c index 5fb6b8c..865b146 100644 --- a/src/storage.c +++ b/src/storage.c @@ -178,9 +178,6 @@ void storage_sync(const char *imsi, const char *store, GKeyFile *keyfile) void storage_close(const char *imsi, const char *store, GKeyFile *keyfile, gboolean save) { - gchar *pathname, *data = NULL; - gsize length = 0; - if (save == TRUE) storage_sync(imsi, store, keyfile); -- 2.7.4