summaryrefslogtreecommitdiffstats
path: root/gatchat/gatmux.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-04 00:00:00 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-04 00:00:00 -0600
commit8d8f5d90a01f7b313516cee8687c92065775166c (patch)
tree3a8dfeb3527cc223ca92eaa650a8ccee6a88d70c /gatchat/gatmux.c
parente5bcf50a0c4322fc82ad9762834b7b6bfe68fcbc (diff)
downloadofono-8d8f5d90a01f7b313516cee8687c92065775166c.tar.bz2
Fix: Dead Assignment
Diffstat (limited to 'gatchat/gatmux.c')
-rw-r--r--gatchat/gatmux.c5
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;
}