diff options
-rw-r--r-- | src/network.c | 2 | ||||
-rw-r--r-- | src/storage.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/network.c b/src/network.c index 42244c17..e4f81a1e 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 5fb6b8cb..865b146a 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); |