Fix: Dead Assignment

This commit is contained in:
Denis Kenzior 2010-02-04 00:00:00 -06:00
parent e5bcf50a0c
commit 8d8f5d90a0
1 changed files with 2 additions and 3 deletions

View File

@ -294,12 +294,11 @@ static void wakeup_writer(GAtMux *mux)
int g_at_mux_raw_write(GAtMux *mux, const void *data, int towrite)
{
GError *error = NULL;
GIOStatus status;
gssize count = towrite;
gsize bytes_written;
status = g_io_channel_write_chars(mux->channel, (gchar *) data,
count, &bytes_written, &error);
g_io_channel_write_chars(mux->channel, (gchar *) data,
count, &bytes_written, &error);
return bytes_written;
}