diff options
-rw-r--r-- | gatchat/gatmux.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c index 55414244..3902956d 100644 --- a/gatchat/gatmux.c +++ b/gatchat/gatmux.c @@ -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; } |