git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de81a7d
)
maint: guestfs.c: remove unnecessary initialization
author
Jim Meyering
<meyering@redhat.com>
Mon, 31 Aug 2009 17:51:46 +0000
(19:51 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 31 Aug 2009 17:51:46 +0000
(19:51 +0200)
* src/guestfs.c (guestfs__receive_file_sync): Don't set "r",
only to ignore it.
src/guestfs.c
patch
|
blob
|
history
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
145f0f3
..
20afb63
100644
(file)
--- a/
src/guestfs.c
+++ b/
src/guestfs.c
@@
-2413,7
+2413,7
@@
guestfs__receive_file_sync (guestfs_h *g, const char *filename)
return -1;
}
- while (
(r = receive_file_data_sync (g, NULL, NULL)
) > 0)
+ while (
receive_file_data_sync (g, NULL, NULL
) > 0)
; /* just discard it */
return -1;