diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-10-26 17:00:35 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-26 17:00:35 -0500 |
commit | 078e2bdc2abcdd49f9caec1420debb49e85352e6 (patch) | |
tree | 740e442e3e94d1d89497e6d80a9687b2f9817a56 /src | |
parent | 4552b0c26a9a72579c418b7e312ce23de348a522 (diff) | |
download | ofono-078e2bdc2abcdd49f9caec1420debb49e85352e6.tar.bz2 |
Fix unused variable warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -542,7 +542,7 @@ static void gprs_attach_callback(const struct ofono_error *error, void *data) if (error->type == OFONO_ERROR_TYPE_NO_ERROR) { gprs->driver_attached = !gprs->driver_attached; - gprs_attach_update(gprs); + gprs_attached_update(gprs); } } @@ -895,7 +895,6 @@ static void set_registration_status(struct ofono_gprs *gprs, int status) const char *str_status = registration_status_to_string(status); const char *path = __ofono_atom_get_path(gprs->atom); DBusConnection *conn = ofono_dbus_get_connection(); - ofono_bool_t attached; gprs->status = status; |