From 8d8f5d90a01f7b313516cee8687c92065775166c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 4 Feb 2010 00:00:00 -0600 Subject: [PATCH] Fix: Dead Assignment --- gatchat/gatmux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c index 5541424..3902956 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; } -- 2.7.4