diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-05-18 17:45:06 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-03 16:08:52 +0200 |
commit | 5ea07589b7bdc50bf895e51ae08297bb66e76aef (patch) | |
tree | a180d34afe2de9fb9ccfc5c24433d9a7fec65a5b | |
parent | 55d8f1b0b80f703bf722c60199ddaf4b1fd7cd26 (diff) | |
download | external_libqmi-5ea07589b7bdc50bf895e51ae08297bb66e76aef.zip external_libqmi-5ea07589b7bdc50bf895e51ae08297bb66e76aef.tar.gz external_libqmi-5ea07589b7bdc50bf895e51ae08297bb66e76aef.tar.bz2 |
core: fix warning, remove unused variables
-rw-r--r-- | cli/qmicli-wds.c | 2 | ||||
-rw-r--r-- | src/qmi-client-wds.c | 3 | ||||
-rw-r--r-- | src/qmi-device.c | 3 | ||||
-rw-r--r-- | src/qmi-message.c | 1 |
4 files changed, 0 insertions, 9 deletions
diff --git a/cli/qmicli-wds.c b/cli/qmicli-wds.c index a751c1e..9683637 100644 --- a/cli/qmicli-wds.c +++ b/cli/qmicli-wds.c @@ -210,8 +210,6 @@ internal_stop_network (GCancellable *cancellable, static void network_cancelled (GCancellable *cancellable) { - QmiWdsStopNetworkInput *input; - ctx->network_started_id = 0; /* Remove the timeout right away */ diff --git a/src/qmi-client-wds.c b/src/qmi-client-wds.c index 07aa3ba..c97b4b6 100644 --- a/src/qmi-client-wds.c +++ b/src/qmi-client-wds.c @@ -245,7 +245,6 @@ qmi_client_wds_get_packet_service_status (QmiClientWds *self, { GSimpleAsyncResult *result; QmiMessage *request; - GError *error = NULL; result = g_simple_async_result_new (G_OBJECT (self), callback, @@ -317,7 +316,6 @@ qmi_client_wds_get_data_bearer_technology (QmiClientWds *self, { GSimpleAsyncResult *result; QmiMessage *request; - GError *error = NULL; result = g_simple_async_result_new (G_OBJECT (self), callback, @@ -389,7 +387,6 @@ qmi_client_wds_get_current_data_bearer_technology (QmiClientWds *self, { GSimpleAsyncResult *result; QmiMessage *request; - GError *error = NULL; result = g_simple_async_result_new (G_OBJECT (self), callback, diff --git a/src/qmi-device.c b/src/qmi-device.c index 1857928..e2271d4 100644 --- a/src/qmi-device.c +++ b/src/qmi-device.c @@ -426,7 +426,6 @@ build_client_object (AllocateClientContext *ctx) { GError *error = NULL; QmiClient *client; - gpointer key; /* We now have a proper CID for the client, we should be able to create it * right away */ @@ -859,7 +858,6 @@ static void parse_response (QmiDevice *self) { do { - GError *error = NULL; QmiMessage *message; /* Every message received must start with the QMUX marker. @@ -1066,7 +1064,6 @@ sync_ready (QmiClientCtl *client_ctl, DeviceOpenContext *ctx) { GError *error = NULL; - guint i; if (!qmi_client_ctl_sync_finish (client_ctl, res, &error)) { g_prefix_error (&error, "Sync failed: "); diff --git a/src/qmi-message.c b/src/qmi-message.c index ed2c90d..1ae8e1c 100644 --- a/src/qmi-message.c +++ b/src/qmi-message.c @@ -624,7 +624,6 @@ qmi_message_new_from_raw (const guint8 *raw, { QmiMessage *self; gsize message_len; - struct qmux *qmux; /* If we didn't even read the header, leave */ if (raw_len < (sizeof (struct qmux) + 1)) |