projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5bcf50
)
Fix: Dead Assignment
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 4 Feb 2010 06:00:00 +0000
(
00:00
-0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 4 Feb 2010 06:00:00 +0000
(
00:00
-0600)
gatchat/gatmux.c
patch
|
blob
|
history
diff --git
a/gatchat/gatmux.c
b/gatchat/gatmux.c
index
5541424
..
3902956
100644
(file)
--- 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;
}