fetcher: Remove "total_requests" counter
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 13 Nov 2015 20:45:15 +0000 (15:45 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 1 Dec 2015 17:34:34 +0000 (12:34 -0500)
Incremented, but not used for anything.

src/libostree/ostree-fetcher.c

index 25c228bed14a5f0795e6c7d80ca7caff57a61eea..981f4f4420380d22b5e992e65cf352e105492214 100644 (file)
@@ -72,7 +72,6 @@ struct OstreeFetcher
   GHashTable *output_stream_set; /* set<GOutputStream> */
   
   guint64 total_downloaded;
-  guint total_requests;
 
   /* Queue for libsoup, see bgo#708591 */
   GQueue pending_queue;
@@ -610,8 +609,6 @@ ostree_fetcher_request_uri_internal (OstreeFetcher         *self,
 
   g_assert_no_error (local_error);
 
-  self->total_requests++;
-
 out:
   g_object_unref (task);
 }