diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-10-30 16:09:59 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-30 16:09:59 -0500 |
commit | cbe52b9a4410a72ebfeeed50f942139afabbdc92 (patch) | |
tree | 14dad5bd4b6a8d940755574c6e20984c9607ea78 | |
parent | 26804de94b655618b9dd7d70ab5d4c3ea8d36bd0 (diff) | |
download | ofono-cbe52b9a4410a72ebfeeed50f942139afabbdc92.tar.bz2 |
Fix: Quiet compiler warnings
-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); |