mirror of git://git.sysmocom.de/ofono
Fix: Dead Assignment
This commit is contained in:
parent
e5bcf50a0c
commit
8d8f5d90a0
|
@ -294,12 +294,11 @@ static void wakeup_writer(GAtMux *mux)
|
||||||
int g_at_mux_raw_write(GAtMux *mux, const void *data, int towrite)
|
int g_at_mux_raw_write(GAtMux *mux, const void *data, int towrite)
|
||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
GIOStatus status;
|
|
||||||
gssize count = towrite;
|
gssize count = towrite;
|
||||||
gsize bytes_written;
|
gsize bytes_written;
|
||||||
|
|
||||||
status = g_io_channel_write_chars(mux->channel, (gchar *) data,
|
g_io_channel_write_chars(mux->channel, (gchar *) data,
|
||||||
count, &bytes_written, &error);
|
count, &bytes_written, &error);
|
||||||
|
|
||||||
return bytes_written;
|
return bytes_written;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue