maint: guestfs.c: remove unnecessary initialization
authorJim Meyering <meyering@redhat.com>
Mon, 31 Aug 2009 17:51:46 +0000 (19:51 +0200)
committerJim 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

index 145f0f3..20afb63 100644 (file)
@@ -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;