From: Jim Meyering Date: Mon, 31 Aug 2009 17:51:46 +0000 (+0200) Subject: maint: guestfs.c: remove unnecessary initialization X-Git-Tag: 1.0.69~21 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=41f8b506924243d4fd7570913fbbbd9f8040e11f;p=libguestfs.git maint: guestfs.c: remove unnecessary initialization * src/guestfs.c (guestfs__receive_file_sync): Don't set "r", only to ignore it. --- diff --git a/src/guestfs.c b/src/guestfs.c index 145f0f3..20afb63 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;