[PATCH] base-call: remove unused 'self' variables
Aleksander Morgado
aleksander at aleksander.es
Sat Oct 20 11:57:55 UTC 2018
On 10/20/18 9:46 AM, Ben Chan wrote:
> ---
> src/mm-base-call.c | 9 ---------
> 1 file changed, 9 deletions(-)
>
Merged to git master, thanks.
> diff --git a/src/mm-base-call.c b/src/mm-base-call.c
> index c128b601..79d296d9 100644
> --- a/src/mm-base-call.c
> +++ b/src/mm-base-call.c
> @@ -875,12 +875,9 @@ call_start_ready (MMBaseModem *modem,
> GAsyncResult *res,
> GTask *task)
> {
> - MMBaseCall *self;
> GError *error = NULL;
> const gchar *response = NULL;
>
> - self = g_task_get_source_object (task);
> -
> response = mm_base_modem_at_command_finish (modem, res, &error);
>
> /* check response for error */
> @@ -931,12 +928,9 @@ call_accept_ready (MMBaseModem *modem,
> GAsyncResult *res,
> GTask *task)
> {
> - MMBaseCall *self;
> GError *error = NULL;
> const gchar *response;
>
> - self = g_task_get_source_object (task);
> -
> response = mm_base_modem_at_command_finish (modem, res, &error);
>
> /* check response for error */
> @@ -983,11 +977,8 @@ call_hangup_ready (MMBaseModem *modem,
> GAsyncResult *res,
> GTask *task)
> {
> - MMBaseCall *self;
> GError *error = NULL;
>
> - self = g_task_get_source_object (task);
> -
> mm_base_modem_at_command_finish (modem, res, &error);
>
> if (error)
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list