OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1853dc
)
qga: fix uninitialized value warning for win32
author
Michael Roth
<mdroth@linux.vnet.ibm.com>
Sat, 17 Oct 2015 15:31:16 +0000
(10:31 -0500)
committer
Michael Roth
<mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 23:31:54 +0000
(18:31 -0500)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/channel-win32.c
patch
|
blob
|
history
diff --git
a/qga/channel-win32.c
b/qga/channel-win32.c
index
215b15a
..
0452b9f
100644
(file)
--- a/
qga/channel-win32.c
+++ b/
qga/channel-win32.c
@@
-269,7
+269,7
@@
static GIOStatus ga_channel_write(GAChannel *c, const char *buf, size_t size,
GIOStatus ga_channel_write_all(GAChannel *c, const char *buf, size_t size)
{
GIOStatus status = G_IO_STATUS_NORMAL;
- size_t count;
+ size_t count
= 0
;
while (size) {
status = ga_channel_write(c, buf, size, &count);