[PATCH 2/2] Remove dead assignments at gatchat

Denis Kenzior denkenz at gmail.com
Tue Feb 2 14:32:16 PST 2010


Hi Gustavo,

> ---
>  gatchat/gatchat.c |    8 +-------
>  1 files changed, 1 insertions(+), 7 deletions(-)

So I applied this patch with one minor change:
 
> @@ -753,7 +751,7 @@ static void wakeup_cb(gboolean ok, GAtResult *result,
>  gpointer user_data) static gboolean wakeup_no_response(gpointer user)
>  {
>  	GAtChat *chat = user;
> -	struct at_command *cmd = g_queue_peek_head(chat->command_queue);
> +	struct at_command *cmd;

This part was no longer necessary.

Regards,
-Denis


More information about the ofono mailing list