Diff between 61d0747e6c9289485ca5b33e2fd1874d1a9b27c5 and 31079f3b1baffe70a717a01e60eacfa6930a9ba7

Changed Files

File Additions Deletions Status
serial/proxy.c +1 -1 modified

Full Patch

diff --git a/serial/proxy.c b/serial/proxy.c
index 127e780..32878ba 100644
--- a/serial/proxy.c
+++ b/serial/proxy.c
@@ -208,7 +208,7 @@ static int channel_write(GIOChannel *chan, char *buf, size_t size)
 
 	fd = g_io_channel_unix_get_fd(chan);
 
-	wbytes = written = 0;
+	wbytes = 0;
 	while (wbytes < size) {
 		written = write(fd, buf + wbytes, size - wbytes);