summaryrefslogtreecommitdiffstats
path: root/src/guestfs.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-31 19:51:46 +0200
committerJim Meyering <meyering@redhat.com>2009-08-31 19:51:46 +0200
commit41f8b506924243d4fd7570913fbbbd9f8040e11f (patch)
tree871dafabbb749d0d4774a567824cffeefc9ffcee /src/guestfs.c
parentde81a7d930a6a2ad558eff9396da20237e06ccc1 (diff)
downloadlibguestfs-41f8b506924243d4fd7570913fbbbd9f8040e11f.tar.gz
libguestfs-41f8b506924243d4fd7570913fbbbd9f8040e11f.tar.xz
libguestfs-41f8b506924243d4fd7570913fbbbd9f8040e11f.zip
maint: guestfs.c: remove unnecessary initialization
* src/guestfs.c (guestfs__receive_file_sync): Don't set "r", only to ignore it.
Diffstat (limited to 'src/guestfs.c')
-rw-r--r--src/guestfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index 145f0f39..20afb633 100644
--- 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;