diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-02-04 00:00:00 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-02-04 00:00:00 -0600 |
commit | 8d8f5d90a01f7b313516cee8687c92065775166c (patch) | |
tree | 3a8dfeb3527cc223ca92eaa650a8ccee6a88d70c /gatchat/gatmux.c | |
parent | e5bcf50a0c4322fc82ad9762834b7b6bfe68fcbc (diff) | |
download | ofono-8d8f5d90a01f7b313516cee8687c92065775166c.tar.bz2 |
Fix: Dead Assignment
Diffstat (limited to 'gatchat/gatmux.c')
-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; } |